wiki:plugin:bootswrapper:text

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:plugin:bootswrapper:text [2016/03/14 22:40] Giuseppe Di Terlizziwiki:plugin:bootswrapper:text [2016/03/18 11:14] (current) – [Text] Giuseppe Di Terlizzi
Line 1: Line 1:
 ====== Text ====== ====== Text ======
  
 +<callout type="tip" icon="true">
 +This syntax have two version (lowercase and uppercase).
  
-<callout type="info"> +  * The //lowercase// version ''<nowiki><text></nowiki>'' create a __inline__ element (eg. ''<nowiki><span></nowiki>''). 
-=== Tips === +  * The //uppercase// version ''<nowiki><TEXT></nowiki>'' create a __block__ element (eg. ''<nowiki><div></nowiki>'').
-This tag have two version (lowercase and uppercase). +
- +
-  * The //lowercase// version ''<nowiki><text></nowiki>'' create a __inline__ element (''<nowiki><span></nowiki>''). +
-  * The //uppercase// version ''<nowiki><TEXT></nowiki>'' create a __block__ element (''<nowiki><div></nowiki>'').+
  
 See the samples. See the samples.
Line 16: Line 14:
  
 ==== Alignment ==== ==== Alignment ====
 +
 +Easily realign text to components with text alignment attribute.
  
 <TEXT align="left">Left aligned text.</TEXT> <TEXT align="left">Left aligned text.</TEXT>
 +
 <TEXT align="center">Center aligned text.</TEXT> <TEXT align="center">Center aligned text.</TEXT>
 +
 <TEXT align="right">Right aligned text.</TEXT> <TEXT align="right">Right aligned text.</TEXT>
 +
 <TEXT align="justify">Justified text.</TEXT> <TEXT align="justify">Justified text.</TEXT>
 +
 <TEXT align="nowrap">No wrap text.</TEXT> <TEXT align="nowrap">No wrap text.</TEXT>
  
Line 37: Line 41:
 ==== Transformation ==== ==== Transformation ====
  
-  * <text transform="lowercase">Lowercased text.</text+Transform text in components with text capitalization attribute. 
-  <text transform="uppercase">Uppercased text.</text+ 
-  <text transform="capitalize">Capitalized text.</text>+<TEXT transform="lowercase">Lowercased text.</TEXT
 + 
 +<TEXT transform="uppercase">Uppercased text.</TEXT
 + 
 +<TEXT transform="capitalize">Capitalized text.</TEXT>
  
 \\ \\
  
 <code html5> <code html5>
-  * <text transform="lowercase">Lowercased text.</text> +<text transform="lowercase">Lowercased text.</text> 
-  <text transform="uppercase">Uppercased text.</text> +<text transform="uppercase">Uppercased text.</text> 
-  <text transform="capitalize">Capitalized text.</text>+<text transform="capitalize">Capitalized text.</text>
 </code> </code>
  
 \\ \\
  
-==== Contextual colors ==== +==== Contextual colors ====
  
-  * <text type="muted">muted</text+Convey meaning through color with a handful of emphasis utility attributes. These may also be applied to links and will darken on hover just like our default link styles. 
-  <text type="primary">primary</text+ 
-  <text type="success">success</text+<TEXT type="muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</TEXT
-  <text type="info">info</text+ 
-  <text type="warning">warning</text+<TEXT type="primary">Nullam id dolor id nibh ultricies vehicula ut id elit.</TEXT
-  <text type="danger">danger</text>+ 
 +<TEXT type="success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</TEXT
 + 
 +<TEXT type="info">Maecenas sed diam eget risus varius blandit sit amet non magna.</TEXT
 + 
 +<TEXT type="warning">Etiam porta sem malesuada magna mollis euismod.</TEXT
 + 
 +<TEXT type="danger">Donec ullamcorper nulla non metus auctor fringilla.</TEXT>
  
 \\ \\
  
-<code html+<code html5
-  <text type="muted">muted</text> +<text type="muted"> [...] </text> 
-  <text type="primary">primary</text> +<text type="primary"> [...] </text> 
-  <text type="success">success</text> +<text type="success"> [...] </text> 
-  <text type="info">info</text> +<text type="info"> [...] </text> 
-  <text type="warning">warning</text> +<text type="warning"> [...] </text> 
-  <text type="danger">danger</text>+<text type="danger"> [...] </text>
 </code> </code>
  
Line 75: Line 90:
 ==== Contextual backgrounds ==== ==== Contextual backgrounds ====
  
-  * <text background="primary">Nullam id dolor id nibh ultricies vehicula ut id elit.</text+Similar to the contextual text color attributes, easily set the background of an element to any contextual attribute. Anchor components will darken on hover, just like the text attributes. 
-  <text background="success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</text+ 
-  <text background="info">Maecenas sed diam eget risus varius blandit sit amet non magna.</text+<TEXT background="primary">Nullam id dolor id nibh ultricies vehicula ut id elit.</TEXT
-  <text background="warning">Etiam porta sem malesuada magna mollis euismod.</text+ 
-  <text background="danger">Donec ullamcorper nulla non metus auctor fringilla.</text>+<TEXT background="success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</TEXT
 + 
 +<TEXT background="info">Maecenas sed diam eget risus varius blandit sit amet non magna.</TEXT
 + 
 +<TEXT background="warning">Etiam porta sem malesuada magna mollis euismod.</TEXT
 + 
 +<TEXT background="danger">Donec ullamcorper nulla non metus auctor fringilla.</TEXT>
  
 \\ \\
  
-<code html+<code html5
-  <text background="primary">Nullam id dolor id nibh ultricies vehicula ut id elit.</text> +<text background="primary"> [...] </text> 
-  <text background="success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</text> +<text background="success"> [...] </text> 
-  <text background="info">Maecenas sed diam eget risus varius blandit sit amet non magna.</text> +<text background="info"> [...] </text> 
-  <text background="warning">Etiam porta sem malesuada magna mollis euismod.</text> +<text background="warning"> [...] </text> 
-  <text background="danger">Donec ullamcorper nulla non metus auctor fringilla.</text>+<text background="danger"> [...</text>
 </code> </code>
  
  • wiki/plugin/bootswrapper/text.1457991621.txt.gz
  • Last modified: 8 years ago
  • by Giuseppe Di Terlizzi