@sefaonder
Posted
Hello @Prabhashg, first of all, thank you for sharing your solution with us. There are a few issues I would like to mention to improve your code a little more:
-
You can use
display:flex
instead ofposition:relative
, which you used for the container class. In this way, you can center the element more easily. More information about flex-box can be found at Flexbox Guide. -
You can make a clean start on the design by removing the default CSS properties. For more information, visit CSS Reset
-
There is a section in the Starter File for the colors and fonts that will be used in the file called
style-guide.md
. You can also use these colors and fonts with thevar()
variable on CSS using the:root
pseudo-class. For more information, visit CSS3 Variables