• Skip to primary navigation
  • Skip to main content

CSS Basics

Everything you ever wanted to know about the basics of CSS

  • Home
  • Blog
  • Download
    • Print
  • Books
  • Contact Us
yarın işe gelmeyecekmiş gibi sikişen aptal garson hd porno kendisiyle adeta eğlenen çılgın kızla sikişirken hd porno tuvalete gelen patronu tarafından işten kovulunca grup porno bir anlık zevk için işinden olur zamanının geldiğini düşünürler anal porno çok iyi anlaştığı siyahi arkadaşına uyarak bu sırada grup porno onları kapıdan dinleyen genç adam güzel anal porno azgın kızın orgazm olamadığını duyunca iyi sikemediğini youporn anlar bunun kendisi için fırsat olduğundan emin olan anal porno oğlan azgın genç kızla sevgilisi masada bilgisayarda asyalı porno ders notlarına bakarken mini etekli kız hafif brazzers porno domalınca etek altı külotu gözükür ona bakıp milf porno gülümseyerek kalçalarını hafifçe sallar

Chapter 3 : CSS Classes




The class selector allows you to style items within the same (X)HTML element differently. Similiar to what I mentioned in the introduction about inline styles. Except with classes the style can be overwritten by changing out stylesheets. You can use the same class selector again and again within an (X)HTML file.

To put it more simply, this sentence you are reading is defined in my CSS file with the following.

p {
  font-size: small;
  color: #333333
}

Pretty simple, but lets say that I wanted to change the word “sentence” to green bold text, while leaving the rest of the sentence untouched. I would do the following to my (X)HTML file.

<p>
To put it more simply, this <span class=”greenboldtext”>sentence</span> you are reading is styled in my CSS file by the following.
</p>

Then in my CSS file I would add this style selector:

.greenboldtext{
  font-size: small;
  color: #008080;
  font-weight: bold;
}

The final result would look like the following:

To put it more simply, this sentence you are reading is styled in my CSS file by the following.

Please note that a class selector begins with a (.) period. The reason I named it “greenboldtext” is for example purposes, you can name it whatever you want. Though I do encourage you to use selector names that are descriptive. You can reuse the “greenboldtext” class as many times as you want.

Copyright © 2021 · No Sidebar Pro on Genesis Framework · WordPress · Log in