|
11 | 11 | font-family: icon-font; |
12 | 12 | } |
13 | 13 | </style> |
| 14 | + <style> |
| 15 | + .svg-bg-inpage { |
| 16 | + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(0,0,0,.54)' d='M20.49 19l-5.73-5.73C15.53 12.2 16 10.91 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.41 0 2.7-.47 3.77-1.24L19 20.49 20.49 19zM5 9.5C5 7.01 7.01 5 9.5 5S14 7.01 14 9.5 11.99 14 9.5 14 5 11.99 5 9.5z'/%3E%3C/svg%3E"); |
| 17 | + background-position: center; |
| 18 | + background-repeat: no-repeat; |
| 19 | + background-size: 20px; |
| 20 | + height: 20px; |
| 21 | + padding: 10px; |
| 22 | + width: 20px; |
| 23 | + font-size:0; |
| 24 | + } |
| 25 | + </style> |
14 | 26 | </head> |
15 | 27 |
|
16 | 28 | <body> |
|
25 | 37 | </div> |
26 | 38 | <div class="font-style">FontFamily</div> |
27 | 39 | <p class="S_spetxt">.S_spetxt</p> |
| 40 | + <div class="svg-bg">svg-bg</div> |
| 41 | + <div class="svg-bg-inpage">svg-bg-inpage</div> |
| 42 | + <button class="not-focus">focus</button> |
28 | 43 | <iframe src="./iframe/index.html" frameborder="0"></iframe> |
29 | 44 | <p> |
30 | 45 | Compare text below with result in devtools, with <html> tag |
|
58 | 73 | body{color:#333;text-decoration:none;} |
59 | 74 | a{color:#76a513;} |
60 | 75 | /*! end @import */ |
61 | | -:AFTER{content:'after';background:#38c;color:#fff;font-size:12px;opacity:0.1;} |
| 76 | +:AFTER{content:'after';background:#38c;color:#fff;font-size:12px;opacity:0;pointer-events:none;} |
62 | 77 | html{height:100%;} |
63 | 78 | A{background:url(${prefix}img/logo.jpg);background-size:100%;animation:teatnamekey;} |
64 | 79 | @media screen and (min-width:500px){ |
|
71 | 86 | } |
72 | 87 | body{font-family:"Cutive Mono";} |
73 | 88 | .font-style{font-family:'Cutive Mono', icon-font, Inter, Avenir, Helvetica , Arial, sans-serif;} |
| 89 | +.svg-bg{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(0,0,0,.54)' d='M20.49 19l-5.73-5.73C15.53 12.2 16 10.91 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.41 0 2.7-.47 3.77-1.24L19 20.49 20.49 19zM5 9.5C5 7.01 7.01 5 9.5 5S14 7.01 14 9.5 11.99 14 9.5 14 5 11.99 5 9.5z'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:20px;height:20px;padding:10px;width:20px;font-size:0;} |
| 90 | +.not-focus{width:50px;height:50px;border:1px solid #000;} |
| 91 | +.not-focus:not(:focus){background:rgb(10, 149, 86);} |
| 92 | +.not-focus:focus{background:rgb(158, 51, 204);} |
74 | 93 | @media print{ |
75 | 94 | i{font-size:10pt;} |
76 | 95 | } |
|
84 | 103 | @media print{ |
85 | 104 | i{color:#789;font-family:icon-font;} |
86 | 105 | } |
| 106 | +/*! CSS Used from: Embedded */ |
| 107 | +.svg-bg-inpage{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(0,0,0,.54)' d='M20.49 19l-5.73-5.73C15.53 12.2 16 10.91 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.41 0 2.7-.47 3.77-1.24L19 20.49 20.49 19zM5 9.5C5 7.01 7.01 5 9.5 5S14 7.01 14 9.5 11.99 14 9.5 14 5 11.99 5 9.5z'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:20px;height:20px;padding:10px;width:20px;font-size:0;} |
87 | 108 | /*! CSS Used keyframes */ |
88 | 109 | @-webkit-keyframes teatnamekey{0%{width:10px;}100%{height:10px;}} |
89 | 110 | @keyframes teatnamekey{0%{width:10px;}100%{height:10px;}} |
|
0 commit comments