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
| p{ letter-spacing: 1px; }
.sl{ overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.sl2 { display: -webkit-box !important; overflow: hidden; text-overflow: ellipsis; word-break: break-all; -webkit-line-clamp: 2; -webkit-box-orient: vertical !important; }
.box{ content: ''; position: absolute; border: 10px solid transparent; border-bottom-color: pink; }
body { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
.more:after { border-color: #666; position: absolute; right: ;(具体位置具体定) top: ;(具体位置具体定) display: block; content: ''; width: .6em; height: .6em; border-left: .04rem solid #06c1ae; border-bottom: .04rem solid #06c1ae; transform: translateY(-50%) scaleY(.7) rotateZ(-135deg); -webkit-transform: translateY(-50%) scaleY(.7) rotateZ(-135deg); -moz-transform: translateY(-50%) scaleY(.7) rotateZ(-135deg); -ms-transform: translateY(-50%) scaleY(.7) rotateZ(-135deg); }
.more:after { border-color: #666; position: absolute; right: ;(具体位置具体定) top: ;(具体位置具体定) display: block; content: ''; width: .6em; height: .6em; border-right: .04rem solid #06c1ae; (和上面相比就改了这) border-top: .04rem solid #06c1ae;(和上面相比就改了这) transform: translateY(-50%) scaleY(.7) rotateZ(-135deg); -webkit-transform: translateY(-50%) scaleY(.7) rotateZ(-135deg); -moz-transform: translateY(-50%) scaleY(.7) rotateZ(-135deg); -ms-transform: translateY(-50%) scaleY(.7) rotateZ(-135deg); }
@font-face{ font-family: '字体名称随便起'; src: url('../font/字体名称.eot'); src:url('../font/字体名称.woff') format('woff'), url('../font/字体名称.ttf') format('truetype'), url('../font/字体名称.svg') format('svg'); }
.list { overflow: hidden; overflow-y: auto; } .list::-webkit-scrollbar-track-piece { background-color: rgba(0, 0, 0, 0); border-left: 1px solid rgba(0, 0, 0, 0); } .list::-webkit-scrollbar { width: 5px; height: 13px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } .list::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.5); background-clip: padding-box; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; min-height: 28px; } .list::-webkit-scrollbar-thumb:hover { background-color: rgba(0, 0, 0, 0.5); -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track-piece { background-color: rgba(0, 0, 0, 0.2); -webkit-border-radius: 6px; } ::-webkit-scrollbar-thumb:vertical { height: 5px; background-color: rgba(125, 125, 125, 0.7); -webkit-border-radius: 6px; } ::-webkit-scrollbar-thumb:horizontal { width: 5px; background-color: rgba(125, 125, 125, 0.7); -webkit-border-radius: 6px; }
img{ vertical-align:middle }
@media screen and (min-aspect-ratio: 13/9){ } // landscape 横屏 @media screen and (max-aspect-ratio: 13/9){ } // portrait 竖屏
text-align: justify;
word-break: break-all;
input::-webkit-input-placeholder{ color:red; } input::-moz-placeholder{ color:red; } input:-moz-placeholder{ color:red; } input:-ms-input-placeholder{ color:red; }
input{ outline: none; outline: medium; outline: 0; }
textarea{ resize: none; }
|