Skip to content

Basic Elements

Jonas Gossens edited this page Jul 20, 2020 · 11 revisions

chayns® provides a lot of different elements that have a uniform style. Most elements will be highlighted by discrete colors, that adjust to the current color scheme. Here you can find information to our headline styles and list styles.

Check out this samples.

Headline

The main Tapp headline. The headline is colored in the color scheme and represents the biggest font-size in chayns design.

<h1>Sample</h1>

Sub-Headline

The sub-headline is used to divide your Tapp into different areas.

<h2>Sample</h2>

Small Sub-Headline

The small sub-headline is used to divide your text into different paragraphs.

<h3>Sample</h3>

Footer

A footer is used to give additional information for content in your Tapp (e.g. a upload date below a picture).

<footer>Sample</footer>

Paragraph

An paragraph is used to display text.

<p>
    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore 
    magna aliquyam erat, sed diam voluptua.
</p>

Unordered List

An unordered list with black points in front of each list item.

<ul>
  <li>Sample 1</li>
  <li>Sample 2</li>
</ul>

Ordered List

An ordered list with numbers in front of each list item.

<ol>
  <li>Sample 1</li>
  <li>Sample 2</li>
</ol>

Text overflow

If you want to cut your text overflow you just have to add ellipsis to your classes.

<h1 class="ellipsis">This text is tooooooooooooooooooooooo long for this row</h1>

Default font size

If you want to use the default font size for an element which has another font size, you can set the class default-font-size.