Answer the question
In order to leave comments, you need to log in
How to make an uneven adaptive frame with rounded edges?
How to do this in css and svg? and also adaptive :-)
I tried to use mask and bg-size: cover - but everything floats one way or another.
Can I use some js to scale the svg?
Answer the question
In order to leave comments, you need to log in
https://codepen.io/topicstarter/pen/drPpdv - if you need to adapt, remove the fixed size from .items and adjust how your input fields should look like
Have you tried the CSS clip-path property?
Link to a convenient online generator
.myFormWrapper {
background: url('myback.svg') no-repeat 50% 50%;
background-size: cover;
padding-bottom: 30%;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question