3
Q:

css class selector

.myclass {
  border:1px solid black;
  background-color: #d2d2d2;
  height:20px;
  width:60px;
}
/*If you give this class to a div in html, it will get the styles you gave
to that class. You can add multiple classes to a div, and multiple divs
can get that class. */
/* I hope I helped! */
10
.class{
    color:red;
}
2
.ThisIsAClassName{
  font-family: sans-serif;
}
2

New to Communities?

Join the community