Savile Home

Styling Content

The s-content class can be used on any element where you want to style all the contents of that element. It will apply styles to the paragraphs using .s-p and links using .s-link, so you don't have to add those classes directly to every corresponding element.

Using .s-content

HTML Example:

<section class="s-content">
 <p>Sample paragraph</p>
 <a href="">Sample link</a>

Output Example:

Sample paragraph Sample link