Special CSS Styling


While in Text mode, You can use the following snippets of CSS code to add styling to your content. CSS stands for Cascading Style Sheets. You can just use the suggested code below. Or, if you want to write your own CSS code, see Further Reading below. Beware that not all CSS code will work in Corsbook, so test your code in Preview before publishing it.

Classes

Classes are a way to categorize styling. You should enclose them in html tags, such as division <div> orĀ  paragraph <p> tags. For example, to style a division, you would enter <div class=”box-gray-w-border”> Your content…<div> in Text mode. Always make sure to enter the closing tag.

Boxes

To create boxes, you can use any of the following snippets. For example to style a gray box with a border, enter <p class=”box-gray-w-border”>Your paragraph.</p>. You have the following choices:

Boxes With Borders

class=”box-gray-w-border”
class=”box-lavender-w-border”
class=”box-orange-w-border”

Boxes Without Borders

class=”box-gray”
class=”box-lavender”
class=”box-blue”
class=”box-yellow”
class=”box-orange”

Further Reading

The following materials are from W3schools.com. This is an external site, but it contains much useful information.

Content is copyright the author. Layout is copyright Corsbook. See Corsbook.com for further notices.