How do I style a form with a background to be in the middle | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I style a form with a background to be in the middle

HTML forms

31st Jul 2020, 1:54 PM
Jnr Bill Gates
Jnr Bill Gates - avatar
2 Answers
+ 3
form { background: url(img.jpg) 50% 50% / 50% no-repeat white; }
31st Jul 2020, 2:04 PM
Calviղ
Calviղ - avatar
0
You can probably do that with CSS, but I don't know how yet.
31st Jul 2020, 1:59 PM
Karak10
Karak10 - avatar