Hi everyone!!
Below you can find result of the first projec I’ve done from responsive web design projects. I would be great to have your feedback to improve for next project.
I really didn’t take much time for different options.
Thanks a lot!!
Hi everyone!!
Below you can find result of the first projec I’ve done from responsive web design projects. I would be great to have your feedback to improve for next project.
I really didn’t take much time for different options.
Thanks a lot!!
All were really good awesome
Welcome to the forums @ramon.rp. Your form looks good. Some things to revisit;
Thanks for your feedback!!
Hi Roma!
Thanks for your welcome!
Thanks!!!
For something like a form you really don’t need a media query as long as you use relative units for widths. Which you did.
What you have to remember is that if you have a container that’s small when you add something like margin things may tend to overflow on smaller screens.
For instance, your form
has a width of 50% and then for fieldset
you added margin: 0 4rem;
That’s okay on a desktop but when you shrink down the form with cannot contain it.
If you remove the margin
from the fieldset
everything is contained on a smaller screen but on a larger screen the fieldset
s are pushed against the form
.
If you leave the margin
within the fieldset
but increase the width
of the width of the form
to 70% then it looks good for both larger and smaller screens. (Yes I picked a bigger width than necessary. You can probably find one that works best for you.)
One thing to remember is everything you see on a webpage is just a box you need to move around and resize. You can try adding this at the top of your CSS to see how things are set up on your page;
* {
border: solid 1px red;
}
Thanks a lot for explanation!! Totally clear now how to make it responsive.
My final solution:
I let form width 50%.
I change width of fieldset to 90% and added margin: 0 auto; to center it inside the form tag.
Thanks for advise about border. Normally I add borders in different colors to have an idea about what Im doing. It what works for me in order to know what is happening.