| <!DOCTYPE html> |
| <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta charset="utf-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=Edge"/> |
| <title>SVG CSS sprite preview | svg-sprite</title> |
| <style>@charset "UTF-8";body{padding:0;margin:0;color:#666;background:#fafafa;font-family:Arial,Helvetica,sans-serif;font-size:1em;line-height:1.4}header{display:block;padding:3em 3em 2em 3em;background-color:#fff}header p{margin:2em 0 0 0}section{border-top:1px solid #eee;padding:2em 3em 0 3em}section ul{margin:0;padding:0}section li{display:inline;display:inline-block;background-color:#fff;position:relative;margin:0 2em 2em 0;vertical-align:top;border:1px solid #ccc;padding:1em 1em 3em 1em;cursor:default}.icon-box{margin:0;width:144px;height:144px;position:relative;background:#ccc url(data:image/gif;base64,R0lGODlhDAAMAIAAAMzMzP///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjEgNjQuMTQwOTQ5LCAyMDEwLzEyLzA3LTEwOjU3OjAxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1LjEgV2luZG93cyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozQjk4OTI0MUY5NTIxMUUyQkJDMEI5NEFEM0Y1QTYwQyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozQjk4OTI0MkY5NTIxMUUyQkJDMEI5NEFEM0Y1QTYwQyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjNCOTg5MjNGRjk1MjExRTJCQkMwQjk0QUQzRjVBNjBDIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjNCOTg5MjQwRjk1MjExRTJCQkMwQjk0QUQzRjVBNjBDIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAAAAAAAsAAAAAAwADAAAAhaEH6mHmmzcgzJAUG/NVGrfOZ8YLlABADs=) top left repeat;border:1px solid #ccc;display:table-cell;vertical-align:middle;text-align:center}.icon{display:inline;display:inline-block}h1{margin-top:0}h2{margin:0;padding:0;font-size:1em;font-weight:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:absolute;left:1em;right:1em;bottom:1em}footer{display:block;margin:0;padding:0 3em 3em 3em}footer p{margin:0;font-size:.7em}footer a{color:#0f7595;margin-left:0}</style> |
| <style>i{text-indent:200%;white-space:nowrap;overflow:hidden;display:inline-block}</style> |
| |
| <!-- |
| |
| Sprite CSS |
| ==================================================================================================== |
| This is an all-in-one inline version of the CSS necessary to use the SVG sprite. |
| |
| --> |
| |
| <style type="text/css"> |
| .svg-ic_attachment_24px { |
| background: url(svg-sprite-file.svg) 33.333333333333336% 0 no-repeat; |
| width: 24px; |
| height: 24px; |
| } |
| .svg-ic_cloud_24px { |
| background: url(svg-sprite-file.svg) 33.333333333333336% 66.66666666666667% no-repeat; |
| width: 24px; |
| height: 24px; |
| } |
| .svg-ic_cloud_circle_24px { |
| background: url(svg-sprite-file.svg) 0 33.333333333333336% no-repeat; |
| width: 24px; |
| height: 24px; |
| } |
| .svg-ic_cloud_done_24px { |
| background: url(svg-sprite-file.svg) 33.333333333333336% 33.333333333333336% no-repeat; |
| width: 24px; |
| height: 24px; |
| } |
| .svg-ic_cloud_download_24px { |
| background: url(svg-sprite-file.svg) 66.66666666666667% 0 no-repeat; |
| width: 24px; |
| height: 24px; |
| } |
| .svg-ic_cloud_off_24px { |
| background: url(svg-sprite-file.svg) 66.66666666666667% 33.333333333333336% no-repeat; |
| width: 24px; |
| height: 24px; |
| } |
| .svg-ic_cloud_queue_24px { |
| background: url(svg-sprite-file.svg) 0 66.66666666666667% no-repeat; |
| width: 24px; |
| height: 24px; |
| } |
| .svg-ic_cloud_upload_24px { |
| background: url(svg-sprite-file.svg) 0 0 no-repeat; |
| width: 24px; |
| height: 24px; |
| } |
| .svg-ic_create_new_folder_24px { |
| background: url(svg-sprite-file.svg) 66.66666666666667% 66.66666666666667% no-repeat; |
| width: 24px; |
| height: 24px; |
| } |
| .svg-ic_file_download_24px { |
| background: url(svg-sprite-file.svg) 100% 0 no-repeat; |
| width: 24px; |
| height: 24px; |
| } |
| .svg-ic_file_upload_24px { |
| background: url(svg-sprite-file.svg) 100% 33.333333333333336% no-repeat; |
| width: 24px; |
| height: 24px; |
| } |
| .svg-ic_folder_24px { |
| background: url(svg-sprite-file.svg) 100% 66.66666666666667% no-repeat; |
| width: 24px; |
| height: 24px; |
| } |
| .svg-ic_folder_open_24px { |
| background: url(svg-sprite-file.svg) 0 100% no-repeat; |
| width: 24px; |
| height: 24px; |
| } |
| .svg-ic_folder_shared_24px { |
| background: url(svg-sprite-file.svg) 33.333333333333336% 100% no-repeat; |
| width: 24px; |
| height: 24px; |
| } |
| </style> |
| |
| <!-- |
| ==================================================================================================== |
| --> |
| |
| </head> |
| <body> |
| <header> |
| <h1>SVG CSS sprite preview</h1> |
| <p>This preview features the generated SVG file as a conventional CSS sprite. The shapes are displayed as background images of several <code><i></code> elements.</p> |
| </header> |
| <section> |
| |
| <!-- |
| |
| Conventional CSS sprite |
| ==================================================================================================== |
| This technique uses CSS classes to display portions of the sprite as background image of |
| appropriately sized elements. |
| |
| --> |
| |
| <ul> |
| |
| <li title="ic_attachment_24px"> |
| <div class="icon-box"> |
| |
| <!-- ic_attachment_24px --> |
| <i class="svg-ic_attachment_24px">ic_attachment_24px</i> |
| |
| </div> |
| <h2>ic_attachment_24px</h2> |
| </li> |
| <li title="ic_cloud_24px"> |
| <div class="icon-box"> |
| |
| <!-- ic_cloud_24px --> |
| <i class="svg-ic_cloud_24px">ic_cloud_24px</i> |
| |
| </div> |
| <h2>ic_cloud_24px</h2> |
| </li> |
| <li title="ic_cloud_circle_24px"> |
| <div class="icon-box"> |
| |
| <!-- ic_cloud_circle_24px --> |
| <i class="svg-ic_cloud_circle_24px">ic_cloud_circle_24px</i> |
| |
| </div> |
| <h2>ic_cloud_circle_24px</h2> |
| </li> |
| <li title="ic_cloud_done_24px"> |
| <div class="icon-box"> |
| |
| <!-- ic_cloud_done_24px --> |
| <i class="svg-ic_cloud_done_24px">ic_cloud_done_24px</i> |
| |
| </div> |
| <h2>ic_cloud_done_24px</h2> |
| </li> |
| <li title="ic_cloud_download_24px"> |
| <div class="icon-box"> |
| |
| <!-- ic_cloud_download_24px --> |
| <i class="svg-ic_cloud_download_24px">ic_cloud_download_24px</i> |
| |
| </div> |
| <h2>ic_cloud_download_24px</h2> |
| </li> |
| <li title="ic_cloud_off_24px"> |
| <div class="icon-box"> |
| |
| <!-- ic_cloud_off_24px --> |
| <i class="svg-ic_cloud_off_24px">ic_cloud_off_24px</i> |
| |
| </div> |
| <h2>ic_cloud_off_24px</h2> |
| </li> |
| <li title="ic_cloud_queue_24px"> |
| <div class="icon-box"> |
| |
| <!-- ic_cloud_queue_24px --> |
| <i class="svg-ic_cloud_queue_24px">ic_cloud_queue_24px</i> |
| |
| </div> |
| <h2>ic_cloud_queue_24px</h2> |
| </li> |
| <li title="ic_cloud_upload_24px"> |
| <div class="icon-box"> |
| |
| <!-- ic_cloud_upload_24px --> |
| <i class="svg-ic_cloud_upload_24px">ic_cloud_upload_24px</i> |
| |
| </div> |
| <h2>ic_cloud_upload_24px</h2> |
| </li> |
| <li title="ic_create_new_folder_24px"> |
| <div class="icon-box"> |
| |
| <!-- ic_create_new_folder_24px --> |
| <i class="svg-ic_create_new_folder_24px">ic_create_new_folder_24px</i> |
| |
| </div> |
| <h2>ic_create_new_folder_24px</h2> |
| </li> |
| <li title="ic_file_download_24px"> |
| <div class="icon-box"> |
| |
| <!-- ic_file_download_24px --> |
| <i class="svg-ic_file_download_24px">ic_file_download_24px</i> |
| |
| </div> |
| <h2>ic_file_download_24px</h2> |
| </li> |
| <li title="ic_file_upload_24px"> |
| <div class="icon-box"> |
| |
| <!-- ic_file_upload_24px --> |
| <i class="svg-ic_file_upload_24px">ic_file_upload_24px</i> |
| |
| </div> |
| <h2>ic_file_upload_24px</h2> |
| </li> |
| <li title="ic_folder_24px"> |
| <div class="icon-box"> |
| |
| <!-- ic_folder_24px --> |
| <i class="svg-ic_folder_24px">ic_folder_24px</i> |
| |
| </div> |
| <h2>ic_folder_24px</h2> |
| </li> |
| <li title="ic_folder_open_24px"> |
| <div class="icon-box"> |
| |
| <!-- ic_folder_open_24px --> |
| <i class="svg-ic_folder_open_24px">ic_folder_open_24px</i> |
| |
| </div> |
| <h2>ic_folder_open_24px</h2> |
| </li> |
| <li title="ic_folder_shared_24px"> |
| <div class="icon-box"> |
| |
| <!-- ic_folder_shared_24px --> |
| <i class="svg-ic_folder_shared_24px">ic_folder_shared_24px</i> |
| |
| </div> |
| <h2>ic_folder_shared_24px</h2> |
| </li> |
| </ul> |
| |
| <!-- |
| ==================================================================================================== |
| --> |
| |
| </section> |
| <footer> |
| <p>Generated at Mon, 08 Feb 2016 20:28:16 GMT by <a href="https://github.com/jkphl/svg-sprite" target="_blank">svg-sprite</a>.</p> |
| </footer> |
| </body> |
| </html> |