2.4 KiB
title, summary, description
| title | summary | description |
|---|---|---|
| Ribbons | Ribbons are graphical elements which attract users' attention to a given element of an interface and make it stand out. | Highlight elements with graphical ribbons. |
Default markup
Use the ribbon class to add the default ribbon to any section of your interface.
{% capture html -%}
Ribbon position
You can change the position of a ribbon by adding one of the following classes to the element:
ribbon-top- moves it to the topribbon-end- moves it to the rightribbon-bottom- moves it to the bottomribbon-start- moves it to the left
Using multiple classes at once will give you more position options. For example, the following class: .ribbon.ribbon-top.ribbon-left will move the ribbon to the top left corner.
{% capture html -%}
Ribbon color
Customize the ribbon's background color. See the full list of available colors for more details.
{% capture html -%}
Ribbon text
Add your own text to a ribbon to display any additional information and make it easy to spot for users.
{% capture html -%}
Bookmark ribbon
Use the .ribbon-bookmark class to create a bookmark ribbon. It is a special style of ribbon that is used to highlight important elements in your interface.
{% capture html -%}