Getting good with CSS - Part 1

CSS is an amazing and unique language that servers a great purpose. We can make our website visually good using CSS. It describes the presentation of web pages, including typography,. layouts, color etc…

Alright let’s move onto the actually discussion that how you start learning it

  • First and foremost, the characteristic of a great website is its color scheme. Forget about everything and learn about background and color properties initially. The colors are something from which users interact first whenever they visit your webpage

  • There are a lot of great color palette out there using which you can generate pleasant color schemes Check this great tool for generating accessible colors Accessible color palette generator | Adobe Color

  • Don’t think that background property is just for setting the solid color. Background is a shorthand property for background-image, background-position etc…

  • Box model is one of the most important concepts of CSS. It’s not so tough to learn. The box-model covers

    • Height
    • Width
    • Padding
    • Border
    • Margin
  • Height and width property are pretty intuitive. These are used to set fixed height and width to the element. I suggest to give a look at max, min-width and max, min-height properties as well.

  • Proper and uniform separation of elements is something that can give your webpage a appealing look. Margin and padding can do this for you. Give this article a short read for Definitive guide of padding and margin Padding vs Margin: The Definitive Guide – UX Engineer

  • Border are used to set the color, width and style to elements. You can learn it in 5 min. Some good border selection can give your element a good pleasant look

  • Moving forward, typography is an essential thing of web page. A good font can make your webpage and establish a strong visual hierarchy, provide a graphic balance to the website, and set the product’s overall tone. You can add free fonts from Google’s official site.

Continue reading the Part 2 here