Blame view
sprites/svg-sprite/svg-sprite-navigation.html
29.3 KB
d099a9749 Add generated CSS... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 |
<!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"> <script src="https://rawgit.com/jonathantneal/svg4everybody/master/svg4everybody.js"></script> <title>SVG 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> <!-- Sprite image dimensions ==================================================================================================== You will need to set the sprite image dimensions via CSS when you use them as inline SVG, otherwise they would become a huge 100% in size. You may use the following dimension classes for doing so. They might well be outsourced to an external stylesheet of course. --> <style type="text/css"> .svg-ic_apps_24px-dims { width: 24px; height: 24px; } .svg-ic_arrow_back_24px-dims { width: 24px; height: 24px; } .svg-ic_arrow_drop_down_24px-dims { width: 24px; height: 24px; } .svg-ic_arrow_drop_down_circle_24px-dims { width: 24px; height: 24px; } .svg-ic_arrow_drop_up_24px-dims { width: 24px; height: 24px; } .svg-ic_arrow_forward_24px-dims { width: 24px; height: 24px; } .svg-ic_cancel_24px-dims { width: 24px; height: 24px; } .svg-ic_check_24px-dims { width: 24px; height: 24px; } .svg-ic_chevron_left_24px-dims { width: 24px; height: 24px; } .svg-ic_chevron_right_24px-dims { width: 24px; height: 24px; } .svg-ic_close_24px-dims { width: 24px; height: 24px; } .svg-ic_expand_less_24px-dims { width: 24px; height: 24px; } .svg-ic_expand_more_24px-dims { width: 24px; height: 24px; } .svg-ic_fullscreen_24px-dims { width: 24px; height: 24px; } .svg-ic_fullscreen_exit_24px-dims { width: 24px; height: 24px; } .svg-ic_menu_24px-dims { width: 24px; height: 24px; } .svg-ic_more_horiz_24px-dims { width: 24px; height: 24px; } .svg-ic_more_vert_24px-dims { width: 24px; height: 24px; } .svg-ic_refresh_24px-dims { width: 24px; height: 24px; } .svg-ic_unfold_less_24px-dims { width: 24px; height: 24px; } .svg-ic_unfold_more_24px-dims { width: 24px; height: 24px; } </style> <!-- ==================================================================================================== --> </head> <body> <!-- Inline SVG sprite ==================================================================================================== This is an inlined version of the generated SVG sprite. The single images may be <use>d everywhere below within this document. Please see https://github.com/jkphl/svg-sprite#inline-embedding for further details on how to create this embeddable sprite variant. --> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="0" height="0" style="position:absolute"> <defs> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_apps_24px" y="0"><path d="M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z"/><path d="M0 0h24v24H0z" fill="none"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_arrow_back_24px" y="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_arrow_drop_down_24px" y="48"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_arrow_drop_down_circle_24px" y="72"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 12l-4-4h8l-4 4z"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_arrow_drop_up_24px" y="96"><path d="M7 14l5-5 5 5z"/><path d="M0 0h24v24H0z" fill="none"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_arrow_forward_24px" y="120"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_cancel_24px" y="144"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/><path d="M0 0h24v24H0z" fill="none"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_check_24px" y="168"><path d="M0 0h24v24H0z" fill="none"/><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_chevron_left_24px" y="192"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/><path d="M0 0h24v24H0z" fill="none"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_chevron_right_24px" y="216"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/><path d="M0 0h24v24H0z" fill="none"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_close_24px" y="240"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/><path d="M0 0h24v24H0z" fill="none"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_expand_less_24px" y="264"><path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"/><path d="M0 0h24v24H0z" fill="none"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_expand_more_24px" y="288"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/><path d="M0 0h24v24H0z" fill="none"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_fullscreen_24px" y="312"><path d="M0 0h24v24H0z" fill="none"/><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_fullscreen_exit_24px" y="336"><path d="M0 0h24v24H0z" fill="none"/><path d="M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_menu_24px" y="360"><path d="M0 0h24v24H0z" fill="none"/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_more_horiz_24px" y="384"><path d="M0 0h24v24H0z" fill="none"/><path d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_more_vert_24px" y="408"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_refresh_24px" y="432"><path d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/><path d="M0 0h24v24H0z" fill="none"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_unfold_less_24px" y="456"><path d="M0 0h24v24H0z" fill="none"/><path d="M7.41 18.59L8.83 20 12 16.83 15.17 20l1.41-1.41L12 14l-4.59 4.59zm9.18-13.18L15.17 4 12 7.17 8.83 4 7.41 5.41 12 10l4.59-4.59z"/></svg> <svg width="24" height="24" viewBox="0 0 24 24" id="ic_unfold_more_24px" y="480"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 5.83L15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9 12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15 12 18.17z"/></svg> </defs> </svg><!-- ==================================================================================================== --> <header> <h1>SVG sprite preview</h1> <p>This preview features two methods of using the generated sprite in conjunction with inline SVG. Please have a look at the HTML source for further details and be aware of the following constraints:</p> <ul> <li>Your browser has to <a href="http://caniuse.com/svg-html5" target="_blank">support inline SVG</a> for these techniques to work.</li> <li>The embedded sprite (A) slightly differs from the generated external one. Please <a href="https://github.com/jkphl/svg-sprite#inline-embedding" target="_blank">see the documentation</a> for details on how to create such an embeddable sprite.</li> <li>Internet Explorer up to version 11 doesn't support external sprites for use with inline SVG. For IE 9-11, you may polyfill this functionality with <a href="https://github.com/jonathantneal/svg4everybody" target="_blank">SVG for Everybody</a>.</li> </ul> </header> <section> <!-- Inline SVG with embedded sprite ==================================================================================================== These SVG images make use of fragment identifiers (IDs) and are extracted out of the inline sprite embedded above. They may be styled via CSS. --> <h3>A) Inline SVG with embedded sprite</h3> <ul> <li title="ic_apps_24px"> <div class="icon-box"> <!-- ic_apps_24px --> <svg viewBox="0 0 24 24" class="svg-ic_apps_24px svg-ic_apps_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_apps_24px"></use> </svg> </div> <h2>ic_apps_24px</h2> </li> <li title="ic_arrow_back_24px"> <div class="icon-box"> <!-- ic_arrow_back_24px --> <svg viewBox="0 24 24 24" class="svg-ic_arrow_back_24px svg-ic_arrow_back_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_arrow_back_24px"></use> </svg> </div> <h2>ic_arrow_back_24px</h2> </li> <li title="ic_arrow_drop_down_24px"> <div class="icon-box"> <!-- ic_arrow_drop_down_24px --> <svg viewBox="0 48 24 24" class="svg-ic_arrow_drop_down_24px svg-ic_arrow_drop_down_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_arrow_drop_down_24px"></use> </svg> </div> <h2>ic_arrow_drop_down_24px</h2> </li> <li title="ic_arrow_drop_down_circle_24px"> <div class="icon-box"> <!-- ic_arrow_drop_down_circle_24px --> <svg viewBox="0 72 24 24" class="svg-ic_arrow_drop_down_circle_24px svg-ic_arrow_drop_down_circle_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_arrow_drop_down_circle_24px"></use> </svg> </div> <h2>ic_arrow_drop_down_circle_24px</h2> </li> <li title="ic_arrow_drop_up_24px"> <div class="icon-box"> <!-- ic_arrow_drop_up_24px --> <svg viewBox="0 96 24 24" class="svg-ic_arrow_drop_up_24px svg-ic_arrow_drop_up_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_arrow_drop_up_24px"></use> </svg> </div> <h2>ic_arrow_drop_up_24px</h2> </li> <li title="ic_arrow_forward_24px"> <div class="icon-box"> <!-- ic_arrow_forward_24px --> <svg viewBox="0 120 24 24" class="svg-ic_arrow_forward_24px svg-ic_arrow_forward_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_arrow_forward_24px"></use> </svg> </div> <h2>ic_arrow_forward_24px</h2> </li> <li title="ic_cancel_24px"> <div class="icon-box"> <!-- ic_cancel_24px --> <svg viewBox="0 144 24 24" class="svg-ic_cancel_24px svg-ic_cancel_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_cancel_24px"></use> </svg> </div> <h2>ic_cancel_24px</h2> </li> <li title="ic_check_24px"> <div class="icon-box"> <!-- ic_check_24px --> <svg viewBox="0 168 24 24" class="svg-ic_check_24px svg-ic_check_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_check_24px"></use> </svg> </div> <h2>ic_check_24px</h2> </li> <li title="ic_chevron_left_24px"> <div class="icon-box"> <!-- ic_chevron_left_24px --> <svg viewBox="0 192 24 24" class="svg-ic_chevron_left_24px svg-ic_chevron_left_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_chevron_left_24px"></use> </svg> </div> <h2>ic_chevron_left_24px</h2> </li> <li title="ic_chevron_right_24px"> <div class="icon-box"> <!-- ic_chevron_right_24px --> <svg viewBox="0 216 24 24" class="svg-ic_chevron_right_24px svg-ic_chevron_right_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_chevron_right_24px"></use> </svg> </div> <h2>ic_chevron_right_24px</h2> </li> <li title="ic_close_24px"> <div class="icon-box"> <!-- ic_close_24px --> <svg viewBox="0 240 24 24" class="svg-ic_close_24px svg-ic_close_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_close_24px"></use> </svg> </div> <h2>ic_close_24px</h2> </li> <li title="ic_expand_less_24px"> <div class="icon-box"> <!-- ic_expand_less_24px --> <svg viewBox="0 264 24 24" class="svg-ic_expand_less_24px svg-ic_expand_less_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_expand_less_24px"></use> </svg> </div> <h2>ic_expand_less_24px</h2> </li> <li title="ic_expand_more_24px"> <div class="icon-box"> <!-- ic_expand_more_24px --> <svg viewBox="0 288 24 24" class="svg-ic_expand_more_24px svg-ic_expand_more_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_expand_more_24px"></use> </svg> </div> <h2>ic_expand_more_24px</h2> </li> <li title="ic_fullscreen_24px"> <div class="icon-box"> <!-- ic_fullscreen_24px --> <svg viewBox="0 312 24 24" class="svg-ic_fullscreen_24px svg-ic_fullscreen_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_fullscreen_24px"></use> </svg> </div> <h2>ic_fullscreen_24px</h2> </li> <li title="ic_fullscreen_exit_24px"> <div class="icon-box"> <!-- ic_fullscreen_exit_24px --> <svg viewBox="0 336 24 24" class="svg-ic_fullscreen_exit_24px svg-ic_fullscreen_exit_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_fullscreen_exit_24px"></use> </svg> </div> <h2>ic_fullscreen_exit_24px</h2> </li> <li title="ic_menu_24px"> <div class="icon-box"> <!-- ic_menu_24px --> <svg viewBox="0 360 24 24" class="svg-ic_menu_24px svg-ic_menu_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_menu_24px"></use> </svg> </div> <h2>ic_menu_24px</h2> </li> <li title="ic_more_horiz_24px"> <div class="icon-box"> <!-- ic_more_horiz_24px --> <svg viewBox="0 384 24 24" class="svg-ic_more_horiz_24px svg-ic_more_horiz_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_more_horiz_24px"></use> </svg> </div> <h2>ic_more_horiz_24px</h2> </li> <li title="ic_more_vert_24px"> <div class="icon-box"> <!-- ic_more_vert_24px --> <svg viewBox="0 408 24 24" class="svg-ic_more_vert_24px svg-ic_more_vert_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_more_vert_24px"></use> </svg> </div> <h2>ic_more_vert_24px</h2> </li> <li title="ic_refresh_24px"> <div class="icon-box"> <!-- ic_refresh_24px --> <svg viewBox="0 432 24 24" class="svg-ic_refresh_24px svg-ic_refresh_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_refresh_24px"></use> </svg> </div> <h2>ic_refresh_24px</h2> </li> <li title="ic_unfold_less_24px"> <div class="icon-box"> <!-- ic_unfold_less_24px --> <svg viewBox="0 456 24 24" class="svg-ic_unfold_less_24px svg-ic_unfold_less_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_unfold_less_24px"></use> </svg> </div> <h2>ic_unfold_less_24px</h2> </li> <li title="ic_unfold_more_24px"> <div class="icon-box"> <!-- ic_unfold_more_24px --> <svg viewBox="0 480 24 24" class="svg-ic_unfold_more_24px svg-ic_unfold_more_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="#ic_unfold_more_24px"></use> </svg> </div> <h2>ic_unfold_more_24px</h2> </li> </ul> <!-- ==================================================================================================== --> <!-- Inline SVG with external sprite ==================================================================================================== These SVG images make use of an URL + fragment identifiers (IDs) and refer to the regular external SVG sprite. They may be styled via CSS. (IE 9-11 with polyfill only) --> <h3>B) Inline SVG with external sprite (IE 9-11 with polyfill only)</h3> <ul> <li title="ic_apps_24px"> <div class="icon-box"> <!-- ic_apps_24px --> <svg viewBox="0 0 24 24" class="svg-ic_apps_24px svg-ic_apps_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_apps_24px"></use> </svg> </div> <h2>ic_apps_24px</h2> </li> <li title="ic_arrow_back_24px"> <div class="icon-box"> <!-- ic_arrow_back_24px --> <svg viewBox="0 24 24 24" class="svg-ic_arrow_back_24px svg-ic_arrow_back_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_arrow_back_24px"></use> </svg> </div> <h2>ic_arrow_back_24px</h2> </li> <li title="ic_arrow_drop_down_24px"> <div class="icon-box"> <!-- ic_arrow_drop_down_24px --> <svg viewBox="0 48 24 24" class="svg-ic_arrow_drop_down_24px svg-ic_arrow_drop_down_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_arrow_drop_down_24px"></use> </svg> </div> <h2>ic_arrow_drop_down_24px</h2> </li> <li title="ic_arrow_drop_down_circle_24px"> <div class="icon-box"> <!-- ic_arrow_drop_down_circle_24px --> <svg viewBox="0 72 24 24" class="svg-ic_arrow_drop_down_circle_24px svg-ic_arrow_drop_down_circle_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_arrow_drop_down_circle_24px"></use> </svg> </div> <h2>ic_arrow_drop_down_circle_24px</h2> </li> <li title="ic_arrow_drop_up_24px"> <div class="icon-box"> <!-- ic_arrow_drop_up_24px --> <svg viewBox="0 96 24 24" class="svg-ic_arrow_drop_up_24px svg-ic_arrow_drop_up_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_arrow_drop_up_24px"></use> </svg> </div> <h2>ic_arrow_drop_up_24px</h2> </li> <li title="ic_arrow_forward_24px"> <div class="icon-box"> <!-- ic_arrow_forward_24px --> <svg viewBox="0 120 24 24" class="svg-ic_arrow_forward_24px svg-ic_arrow_forward_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_arrow_forward_24px"></use> </svg> </div> <h2>ic_arrow_forward_24px</h2> </li> <li title="ic_cancel_24px"> <div class="icon-box"> <!-- ic_cancel_24px --> <svg viewBox="0 144 24 24" class="svg-ic_cancel_24px svg-ic_cancel_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_cancel_24px"></use> </svg> </div> <h2>ic_cancel_24px</h2> </li> <li title="ic_check_24px"> <div class="icon-box"> <!-- ic_check_24px --> <svg viewBox="0 168 24 24" class="svg-ic_check_24px svg-ic_check_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_check_24px"></use> </svg> </div> <h2>ic_check_24px</h2> </li> <li title="ic_chevron_left_24px"> <div class="icon-box"> <!-- ic_chevron_left_24px --> <svg viewBox="0 192 24 24" class="svg-ic_chevron_left_24px svg-ic_chevron_left_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_chevron_left_24px"></use> </svg> </div> <h2>ic_chevron_left_24px</h2> </li> <li title="ic_chevron_right_24px"> <div class="icon-box"> <!-- ic_chevron_right_24px --> <svg viewBox="0 216 24 24" class="svg-ic_chevron_right_24px svg-ic_chevron_right_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_chevron_right_24px"></use> </svg> </div> <h2>ic_chevron_right_24px</h2> </li> <li title="ic_close_24px"> <div class="icon-box"> <!-- ic_close_24px --> <svg viewBox="0 240 24 24" class="svg-ic_close_24px svg-ic_close_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_close_24px"></use> </svg> </div> <h2>ic_close_24px</h2> </li> <li title="ic_expand_less_24px"> <div class="icon-box"> <!-- ic_expand_less_24px --> <svg viewBox="0 264 24 24" class="svg-ic_expand_less_24px svg-ic_expand_less_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_expand_less_24px"></use> </svg> </div> <h2>ic_expand_less_24px</h2> </li> <li title="ic_expand_more_24px"> <div class="icon-box"> <!-- ic_expand_more_24px --> <svg viewBox="0 288 24 24" class="svg-ic_expand_more_24px svg-ic_expand_more_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_expand_more_24px"></use> </svg> </div> <h2>ic_expand_more_24px</h2> </li> <li title="ic_fullscreen_24px"> <div class="icon-box"> <!-- ic_fullscreen_24px --> <svg viewBox="0 312 24 24" class="svg-ic_fullscreen_24px svg-ic_fullscreen_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_fullscreen_24px"></use> </svg> </div> <h2>ic_fullscreen_24px</h2> </li> <li title="ic_fullscreen_exit_24px"> <div class="icon-box"> <!-- ic_fullscreen_exit_24px --> <svg viewBox="0 336 24 24" class="svg-ic_fullscreen_exit_24px svg-ic_fullscreen_exit_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_fullscreen_exit_24px"></use> </svg> </div> <h2>ic_fullscreen_exit_24px</h2> </li> <li title="ic_menu_24px"> <div class="icon-box"> <!-- ic_menu_24px --> <svg viewBox="0 360 24 24" class="svg-ic_menu_24px svg-ic_menu_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_menu_24px"></use> </svg> </div> <h2>ic_menu_24px</h2> </li> <li title="ic_more_horiz_24px"> <div class="icon-box"> <!-- ic_more_horiz_24px --> <svg viewBox="0 384 24 24" class="svg-ic_more_horiz_24px svg-ic_more_horiz_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_more_horiz_24px"></use> </svg> </div> <h2>ic_more_horiz_24px</h2> </li> <li title="ic_more_vert_24px"> <div class="icon-box"> <!-- ic_more_vert_24px --> <svg viewBox="0 408 24 24" class="svg-ic_more_vert_24px svg-ic_more_vert_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_more_vert_24px"></use> </svg> </div> <h2>ic_more_vert_24px</h2> </li> <li title="ic_refresh_24px"> <div class="icon-box"> <!-- ic_refresh_24px --> <svg viewBox="0 432 24 24" class="svg-ic_refresh_24px svg-ic_refresh_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_refresh_24px"></use> </svg> </div> <h2>ic_refresh_24px</h2> </li> <li title="ic_unfold_less_24px"> <div class="icon-box"> <!-- ic_unfold_less_24px --> <svg viewBox="0 456 24 24" class="svg-ic_unfold_less_24px svg-ic_unfold_less_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_unfold_less_24px"></use> </svg> </div> <h2>ic_unfold_less_24px</h2> </li> <li title="ic_unfold_more_24px"> <div class="icon-box"> <!-- ic_unfold_more_24px --> <svg viewBox="0 480 24 24" class="svg-ic_unfold_more_24px svg-ic_unfold_more_24px-dims" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <use xlink:href="svg/sprite.svg#ic_unfold_more_24px"></use> </svg> </div> <h2>ic_unfold_more_24px</h2> </li> </ul> <!-- ==================================================================================================== --> </section> <footer> <p>Generated at Wed, 15 Oct 2014 21:41:58 GMT by <a href="https://github.com/jkphl/svg-sprite" target="_blank">svg-sprite</a>.</p> </footer> </body> </html> |