Photo Credit: Pierre Lesage // cc.
All styles should be used inside an element with a class name of csstype
. This way, you can use the CSSTypography module in conjunction with other CSS on your page. Only elements within an element with the csstype
class name will be styled with this module.
Sometimes, you want a title and a lighter subtitle, like the one above this paragraph. You can do this by adding a title
class to a heading, and a subtitle
class to a sub-heading. This will adjust the margins to group the title and subtitle together without much spacing between them.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Typography is the craft of endowing human language with a durable visual form. Anonymous
You can pull down CSSForm from the YUI Gallery. Just include this <link>
element in your <head>
.
link rel="stylesheet" href="http://yui.yahooapis.com/gallery-2013.03.27-22-06/build/gallerycss-cssform/gallerycss-cssform-min.css"
Here is some strong text.
Here is some text that we want to emphasize.
You can align text through the text-left
, text-center
, and text-right
class names.
Text aligned to the left.
Text aligned to the center.
Text aligned to the right.
Add the muted
class name to an element to add a muted color to the text within.
You can pull down CSSForm from the YUI Gallery. Just include this <link>
element in your <head>
. Here's a link
You can pull down CSSForm from the YUI Gallery. Just include this <link>
element in your <head>
. Here's a link
You can pull down CSSForm from the YUI Gallery. Just include this <link>
element in your <head>
. Here's a link
list
class to style ordered and unordered lists. Add the plain
class to remove the default browser styles.ul
Default StylingAdd the list
classes to an unordered list element to apply these styles.
ul
Plain StylingAdd the list
classes to an unordered list element to apply these styles.
ol
Default StylingAdd the list
classes to an ordered list element to apply these styles.
ol
Plain StylingAdd the list plain
classes to an ordered list element to apply these styles.