达到的效果: 今天碰到这样一个需求,为带有圆角的框加一个角标。而且角标是圆角的。我真的不想切图,怎么办。突然想到css3可以实现条纹背景,那这不就可以了么 background: linear-gradient(45deg, transparent 50%, #61C4CF 0%); backgro ...
分类:
Web程序 时间:
2020-06-03 15:37:06
阅读次数:
233
一 CSS 背景(background) 1 背景颜色(color) 语法: 默认的值是 transparent 透明的 background-image : none | url (url) background-image : url(images/demo.png); background-r ...
分类:
Web程序 时间:
2020-05-31 12:54:53
阅读次数:
76
网格 html { background: #58a; background-image: linear-gradient(white 2px, transparent 0), linear-gradient(90deg, white 2px, transparent 0), linear-grad ...
分类:
Web程序 时间:
2020-05-10 19:10:43
阅读次数:
84
Border默认透明,不响应MouseDown等事件 点击会从透明的Border穿过到下一个控件=.=(所以和ZIndex无关) 设置 才能“点击”成功,响应MouseDown事件 同理可推导,有时候需要设置容器背景为“白色”,有时候需要设置为“透明”(Transparent),看需求 示例代码 " ...
分类:
其他好文 时间:
2020-05-05 23:49:48
阅读次数:
120
width:0; height:0; border:100px solid; border-top-color:red; border-right-color:transparent; border-bottom-color:transparent; border-left-color:transp ...
分类:
Web程序 时间:
2020-05-04 13:27:12
阅读次数:
58
box-sizing:border-sizing -webkit-box-sizing:border-sizing -webkit-tap-highlight-color:transparent 清除点击高亮,如a -webkit-appearance:none 清除iOS中预置的样式,如input ...
分类:
移动开发 时间:
2020-05-01 22:36:05
阅读次数:
102
参考:Prevent WPF window flicker You can use a transparent window (AllowTransparency = True) with a grid, then when your control needs to be hidden you c ...
.loading{ display: inline-block; height: .24rem; width: .24rem; border-radius: 100%; border: 2px solid #666; border-bottom-color: transparent; positio ...
分类:
其他好文 时间:
2020-04-21 15:25:54
阅读次数:
90
background: transparent; background: rgba(0, 0, 0, 0.8); ...
分类:
Web程序 时间:
2020-04-14 16:31:37
阅读次数:
71
上周对ES集群进行扩容,运维同学找了几台物理机部署data node,结果发现新的data node比以前的data node性能差很多。同样的data node配置,同样的查询量,测试结果:CPU低,load非常高,diskIO打满。 最后通过对比系统配置,发现区别是新加入的物理机以前是跑Mong ...
分类:
系统相关 时间:
2020-04-06 13:25:07
阅读次数:
113