@zyzgroup/core-web 0.0.86 → 0.0.88

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/better.css CHANGED
@@ -17,11 +17,7 @@
17
17
  --safe-area-inset-left: env(safe-area-inset-left);
18
18
  }
19
19
 
20
- /*
21
- *,
22
- *::before,
23
- *::after
24
- */
20
+ /* *,*::before,*::after */
25
21
  html,
26
22
  body,
27
23
  div,
@@ -118,6 +114,8 @@ html {
118
114
  -moz-osx-font-smoothing: grayscale;
119
115
  /* 字体不会随着网页放大而变大, 自从chrome 27之后,就取消了对这个属性的支持。同时,该属性只对英文、数字生效,对中文不生效 */
120
116
  text-size-adjust: none;
117
+ /* 自动平滑滚动 */
118
+ scroll-behavior: smooth;
121
119
 
122
120
  background-color: #ffffff;
123
121
  color: #333333;
@@ -244,6 +242,35 @@ q {
244
242
  quotes: "" "";
245
243
  }
246
244
 
245
+ /* 阻止鼠标选择文本 */
246
+ .no-select {
247
+ user-select: none;
248
+ }
249
+ /* 禁止鼠标事件触发 */
250
+ .no-pointer {
251
+ pointer-events: none;
252
+ }
253
+
254
+ .blur {
255
+ filter: blur(20px);
256
+ }
257
+
258
+ .dn {
259
+ display: none;
260
+ }
261
+ .hidden {
262
+ visibility: hidden;
263
+ }
264
+ .opacity {
265
+ opacity: 0;
266
+ filter: Alpha(opacity=0);
267
+ }
268
+ /* 毛玻璃质感 */
269
+ .glass {
270
+ background-color: rgba(255, 255, 255, 0.05);
271
+ backdrop-filter: blur(10px);
272
+ }
273
+
247
274
  /*
248
275
  清除浮动
249
276
  浮动特性
@@ -364,6 +391,10 @@ https://developer.mozilla.org/en-US/docs/Web/CSS/@media/hover
364
391
  :root {
365
392
  }
366
393
  }
394
+ @media (orientation: landscape) {
395
+ :root {
396
+ }
397
+ }
367
398
 
368
399
  /* 设备断点 */
369
400
  @media (max-width: 375px) {