justify

API Methods

setTextAlignment

Attribute Names

data-text-alignment

Elements
    Properties
      Sizes
        SVG
        <img data-src="justify.svg" class="iconic iconic-sm" alt="justify">
        <img data-src="justify.svg" class="iconic iconic-md" alt="justify">
        <img data-src="justify.svg" class="iconic iconic-lg" alt="justify">
        
        Default Icon Font
        <span class="iconic iconic-sm" data-glyph="justify-left" title="justify left" aria-hidden="true"></span>
        <span class="iconic iconic-md" data-glyph="justify-left" title="justify left" aria-hidden="true"></span>
        <span class="iconic iconic-lg" data-glyph="justify-left" title="justify left" aria-hidden="true"></span>
        
        Bootstrap Icon Font
        <span class="iconic iconic-justify-left iconic-sm" title="justify left" aria-hidden="true"></span>
        <span class="iconic iconic-justify-left iconic-md" title="justify left" aria-hidden="true"></span>
        <span class="iconic iconic-justify-left iconic-lg" title="justify left" aria-hidden="true"></span>
        
        Foundation Icon Font
        <span class="fi-justify-left iconic-sm" title="justify left" aria-hidden="true"></span>
        <span class="fi-justify-left iconic-md" title="justify left" aria-hidden="true"></span>
        <span class="fi-justify-left iconic-lg" title="justify left" aria-hidden="true"></span>
        
        CSS

        Semantic SVG

        data-text-alignment

        Sets text alignment

        • left

          <img data-text-alignment="left" data-src="justify.svg" class="iconic" alt="justify" />
          
        • center

          <img data-text-alignment="center" data-src="justify.svg" class="iconic" alt="justify" />
          
        • right

          <img data-text-alignment="right" data-src="justify.svg" class="iconic" alt="justify" />
          
        Method name

        Options/Examples

        setTextAlignment(textAlignment)

        left
        center
        right

        Icon Font

        Iconic may be all about SVG, but it also comes with a killer font. For the full skinny, read our icon font and Bootstrap/Foundation guides.

        <!-- Default -->
        <span class="iconic" data-glyph="justify-left" title="justify left" aria-hidden="true"></span>
        <!-- Bootstrap -->
        <span class="iconic iconic-justify-left" title="justify left" aria-hidden="true"></span>
        <!-- Foundation -->
        <span class="fi-justify-left" title="justify left" aria-hidden="true"></span>
        
        • justify-left

        • justify-center

        • justify-right

        was copied for yah