P
P
Pavel K2020-07-07 01:03:56
css
Pavel K, 2020-07-07 01:03:56

Is it possible and how exactly in SVG to set the pattern fill without clipping?

Greetings!
You need to make this block:
5f039f497ffe5028569717.png
I make a block using SVG.
There was a problem - how to make the figures below fit entirely, without cropping at the end?
Dimensions are not known in advance. I don't want to use JS.
Now I'm making a pattern with a semicircle, I fill it with a rectangle. Maybe some other way is needed?
To complicate matters, the entire shape will be used as the clip-path

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RAX7, 2020-07-07
@PavelK

without cutting it is possible

you can also align the pattern in the center, then cropping will be from both edges

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question