replacing "tag-tagname" with "tag name"
A Pen by David Cochran on CodePen.
replacing "tag-tagname" with "tag name"
A Pen by David Cochran on CodePen.
| <svg width="96" height="96"> | |
| <image xlink:href="svg.svg" src="svg.png" width="96" height="96" /> | |
| </svg> | |
| <!-- | |
| by Alexey Ten | |
| http://lynn.ru/examples/svg/en.html | |
| Exploits the way browsers render the image tag. Widely supported, including all major browsers. |
| <?php if ( !empty( $post->post_excerpt ) ) : // if the excerpt field is not empty | |
| the_excerpt(); // do the excerpt | |
| else : // if the excerpt field is empty | |
| false; // no excerpt | |
| endif; ?> | |
| <!-- see: https://wordpress.org/support/topic/if-the_excerpt-is-blank --> |
| <!-- | |
| * Basic structural tags for the body of an html5 document | |
| * Based on HTML5 Bones http://html5bones.com/ | |
| --> | |
| <header role="banner"> | |
| <h1>Main Title</h1> | |
| <nav role="navigation"> | |
| <ul> | |
| <li><a href="index.html">Home</a></li> |
| // Box Shadows | |
| // ------------------------ | |
| @box-shadow-lighter: 0 0 2px hsla(0, 0%, 50%, 0.2); | |
| @box-shadow-normal: 0 0 2px hsla(0, 0%, 50%, 0.3); | |
| @box-shadow-darker: 0 0 2px hsla(0, 0%, 50%, 0.3); | |
| @box-shadow-darkest: 0 0 2px hsla(0, 0%, 50%, 0.3); | |
| // Down | |
| @box-shadow-down-lighter: 0 1px 1px hsla(0, 0%, 50%, 0.2); |
| // Gradient Mixins | |
| // ============================== | |
| // HSLa Gradients | |
| // Lays an HSLa alpha-transparency layer over top of any background color | |
| // http://www.w3.org/TR/2003/CR-css3-color-20030514/#hsl-color | |
| // http://css-tricks.com/yay-for-hsla/ | |
| // Be sure to use background-image NOT background, | |
| // to specify the gradient as the image ONLY, atop the underlying color | |
| // |
| // | |
| // Products Grid | |
| // -------------------------------------------------- | |
| @media screen and (min-width: @tablet-min-width) { | |
| .products-grid { | |
| display: table; | |
| .product-item { | |
| display: inline-table; | |
| width: 46%; |
| .products-grid { | |
| display: table; | |
| } | |
| .product-item { | |
| display: inline-table; | |
| vertical-align: top; // needed by Safari | |
| width: 46%; | |
| margin-left: 2%; | |
| } |