Week 5 HMTL Practice

A class is not the room that you learn stuff.

I am aware that the picture is irrelevant. You are absolutely right. Fortunately, someone called HÃ¥kon Wium Lie proposed the idea to make the webpages more stylish. You can make an html tag look better or you can even make super cool animations with CSS. The best thing about classes, you can name them as you wish. Remember to keep them in a format that makes sense. Nobody would enjoy a class name as “class1”. Here is an example from me

.topnav {

  background-color: aliceblue;
  border-radius: 7px;
  border: 1px;
  box-shadow: 0 2px 4px -1px rgba(0,0,0,0.90);
  color: black;
  margin: 50px auto 10px auto;
  overflow: hidden;
  padding: 30px;
  text-align:left;
  
}
Skip to content