monitor

API Methods

setScreenshot

Attribute Names

data-screenshot

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

        Semantic SVG

        data-screenshot

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

        Options

        setScreenshot(url)

        Any URL reference to PNG, JPG or GIF file.

        Screenshot sizing

        monitor-sm

        14:9 ratio
        14×9 exact pixels

        monitor-md

        14:9 ratio
        28×18 exact pixels

        monitor-lg

        5:3 ratio
        120×72 exact pixels

        monitor-lg x 2

        5:3 ratio
        240×144 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="monitor" title="monitor" aria-hidden="true"></span>
        <!-- Bootstrap -->
        <span class="iconic iconic-monitor" title="monitor" aria-hidden="true"></span>
        <!-- Foundation -->
        <span class="fi-monitor" title="monitor" aria-hidden="true"></span>
        
        • monitor

        was copied for yah