laptop

API Methods

setScreenshot

Attribute Names

data-screenshot

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

        Semantic SVG

        data-screenshot

        The URL of an image to appear in the laptop'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="laptop.svg" class="iconic" alt="laptop" />
          
        Method name

        Options

        setScreenshot(url)

        Any URL reference to PNG, JPG or GIF file.

        Screenshot sizing

        laptop-sm

        5:3 ratio
        10×6 exact pixels

        laptop-md

        11:7 ratio
        22×14 exact pixels

        laptop-lg

        13:8 ratio
        104×64 exact pixels

        laptop-lg x 2

        13:8 ratio
        208×128 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="laptop" title="laptop" aria-hidden="true"></span>
        <!-- Bootstrap -->
        <span class="iconic iconic-laptop" title="laptop" aria-hidden="true"></span>
        <!-- Foundation -->
        <span class="fi-laptop" title="laptop" aria-hidden="true"></span>
        
        • laptop

        was copied for yah