browser

API Methods

setScreenshot

Attribute Names

data-screenshot

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

        Semantic SVG

        data-screenshot

        The URL of an image to appear in the browser's screen space. Screenshot images will always fill 100% of the allotted space's width. If you want the screenshot to fit perfectly, use the specified aspect ratios below.

        • URL

          <img data-screenshot="image.png" data-src="browser.svg" class="iconic" alt="browser" />
          
        Method name

        Options

        setScreenshot(url)

        Any URL reference to PNG, JPG or GIF file.

        Screenshot sizing

        browser-sm

        7:5 ratio
        14×10 exact pixels

        browser-md

        7:7 ratio
        28×20 exact pixels

        browser-lg

        4:3 ratio
        120×90 exact pixels

        browser-lg x 2

        4:3 ratio
        240×180 exact pixels

        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="browser" title="browser" aria-hidden="true"></span>
        <!-- Bootstrap -->
        <span class="iconic iconic-browser" title="browser" aria-hidden="true"></span>
        <!-- Foundation -->
        <span class="fi-browser" title="browser" aria-hidden="true"></span>
        
        • browser

        was copied for yah