Design comparison
Community feedback
- @Bader-IdrisPosted over 1 year ago
You can set the container in the middle of the screen whatever user changes it when you add these properties to it in CSS:
.container { display: absolute; top:50%; left: 50%; transform: translate(-50%, -50%); }
the new feature is transform, it has many lovely properties you can discover, I personally love it. Hope it's useful
0 - @BABAR1532Posted over 1 year ago
Hi, harsh in your HTML file you are linking a CSS file with the wrong URL. Your code *** <link rel="stylesheet" href="css/style.css"> *** correct code *** <link rel="stylesheet" href="style.css"> ***
why your code is wrong? -> You are giving the location of your CSS file which is style.css in a directory called css/ which is not present in your main branch. i.e your CSS file is not linking to your HTML document
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord