This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Parallelograms — with extra HTML element | |
| */ | |
| .button { transform: skewX(45deg); } | |
| .button > div { transform: skewX(-45deg); } | |
| .button { | |
| display: inline-block; | |
| padding: .5em 1em; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Hyphenation | |
| */ | |
| h3{ | |
| margin: 1em 0 0; | |
| } | |
| .paragraph0{ | |
| display: inline-block; | |
| margin: 0 1em 2em 1em; | |
| border: .2em solid #ccc; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Inserting line breaks | |
| */ | |
| body { | |
| font: 150%/1.6 serif; | |
| } | |
| dl{ | |
| margin: 10px 20px; | |
| } | |
| .separation{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Zebra striped text lines | |
| */ | |
| pre { | |
| font-family: Consolas, Monaco, monospace; | |
| padding: .5em; | |
| line-height: 1.5; | |
| /*background: hsl(20, 50%, 95%);*/ | |
| /*background-image: linear-gradient( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // alert('Hello world!'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Adjusting tabs | |
| */ | |
| pre { | |
| padding: .5em; | |
| line-height: 1.5; | |
| background: hsl(20, 50%, 95%); | |
| font-family: Consolas, Monaco, monospace; | |
| } | |
| code { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // alert('Hello world!'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Ligatures | |
| */ | |
| @font-face{ | |
| font-family: "Adobe Caslon Pro"; | |
| src: url("http://s9.qhres.com/static/9087e3ed9cc7c604.otf"); | |
| } | |
| @font-face{ | |
| font-family: Baskerville; | |
| src: url("http://s0.qhres.com/static/999881397bb7da46.otf"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Fancy Ampersands | |
| */ | |
| @font-face { | |
| font-family: Ampersand; | |
| src: url("http://s6.qhres.com/static/1208d5c9aa18d2d9.ttf"), url("http://s9.qhres.com/static/645941fdd87d0589.ttf"); | |
| /*unicode-range: U+26; // Unicode码位*/ | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Custom underlines | |
| */ | |
| body { | |
| font: 250%/1.8 Baskerville, Palatino, serif; | |
| } | |
| p.default a { | |
| text-decoration: underline; |
OlderNewer