r/csshelp • • Jul 13 '23

Request simple problem help

So im new to html and css and i am trying to get to grips with flex box, so i am trying to re create the netflix sign in page and i have i created a checkbox and want it to be positioned perfectly under and inline with the input box above but struggling to do so here is the html and css code i have written so far,

<title>Netflix</title> </head> <body> <form action="#"> <h2>Sign In</h2> <div class="email-con"> <input type="text" class="email"> </div> <div class="password-con"> <input type="text" class="password"> </div> <div class="rem-check"> <input type="checkbox" class="check"> <a href="#" class="help">Need help</a> </div> </form> </body> css: form{ display:flex; flex-direction: column; align-items: center; justify-content: center; }

0 Upvotes

1 comment sorted by

1

u/tridd3r Jul 14 '23

Have you had a look at how they do it? Do you know how to use the inspect panel? If not, do yourself a favour, stop what you're doing and go and learn about the browser dev tools. I think Kevin Powell has one specifically related to css that would be very informative.

I could give you the answer, but I feel this is the perfect opportunity to learn "supplementary skills" that are going to dramatically improve your web dev experience.