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
| <!-- content to be placed inside <body>…</body> --> |
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
| /* thumb截中间区域 */ | |
| fieldset { | |
| display: inline-block; | |
| border: 1px solid #ddd; | |
| } | |
| .thumb { | |
| position: relative; |
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
| ul, li { | |
| margin: 0; | |
| padding: 0; | |
| list-style: none; | |
| } | |
| .menu { | |
| position: fixed; | |
| bottom: 0; | |
| left: 50%; |
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
| /** | |
| * 环形进度条第2种实现 | |
| */ | |
| body, html { height:100%;} | |
| body { display:flex;justify-content:center;align-items:center;} | |
| .controls { margin-top: 2em;text-align:center; } | |
| .circle-progress { | |
| position: relative; | |
| width: 10em; |
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
| /** | |
| * 环形进度条,css bt版 | |
| */ | |
| html,body { height:100%; } | |
| body { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| } |
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
| .progress { | |
| position: relative; | |
| height: 20px; | |
| border:1px solid #333; | |
| } | |
| .progress i { | |
| position: absolute; | |
| width: 50%; | |
| height: 20px; |
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
| body { | |
| padding: 5em 10em; | |
| } | |
| .wating:after { | |
| content: ''; | |
| display: inline-block; | |
| width: .5em; | |
| height: 2em; | |
| overflow: hidden; |
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
| body { | |
| margin: 0; | |
| padding: 0 24px; | |
| font-family: arial, sans-serif; | |
| background-color: #0ff; | |
| background-image: linear-gradient(90deg, transparent 1px, rgba(255,255,255,.9) 1px); | |
| background-size: 5px 5px; | |
| } | |
| hr { |
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
| html,body { height:100%; } | |
| .list { padding:10px; border:3px solid #ccc; } | |
| /* | |
| 方法1: | |
| html,body { height:100%; } |
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
| p:nth-child(1) { | |
| font-size: 12px; | |
| margin: 20px; | |
| width: 200px; | |
| height: 150px; | |
| -webkit-hyphens: auto; | |
| -webkit-shape-inside: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); | |
| overflow: hidden; | |
| } |