CSS Class Selector

  • Post category:CSS

Get the code of CSS Class Selector and watch video tutorials. You can practice using our code editor. Our practical guide will make your learning journey much easier. You can explore the tutorial and learn.

<p class="car">Ford Car</p>
<p class="car">Toyota Car</p>
.car {
  text-align: center;
  color: white;
  background: navy;
  font-size: 30px;
  font-weight: bold;
  padding: 15px;
  text-transform: uppercase;
}