第二次用echart,第一次做地图, <template> <div class="echarts" style="background:#3bafde"> <div :style="{height:'600px',width:'100%'}" ref="myEchart"></div> </div ...
分类:
其他好文 时间:
2020-07-10 17:03:19
阅读次数:
82
一、单行 <div class="div">这是一段中文这是一段中文这是一段中文这是一段中文这是一段中文这是一段中文</div> .div { background-color: green; width: 100px; overflow: hidden; text-overflow: ellips ...
分类:
Web程序 时间:
2020-07-10 12:55:11
阅读次数:
83
创建剪切动画 对于剪切动画,使用clip-path代替width/height,避免DOM重排导致性能过低。 .animate { width: 200px; height: 200px; background: #000; animation: 1s clip; } @keyframes clip ...
分类:
Web程序 时间:
2020-07-10 00:09:31
阅读次数:
86
[CSS :first-line 选择器完整CSS选择器参考手册实例每个元素的第一行选择的样式: p:first-line { background-color:yellow; } 定义和用法:first-line选择器用来指定选择器第一行的样式。注意::first-line选择器可以使用以下属性:... ...
分类:
Web程序 时间:
2020-07-09 12:12:02
阅读次数:
160
弹出界面在日常使用中非常经常. 在powerapps中实现方式也非常简单. 首先我们需要创建一个rectangle, 可以覆盖当前screen,并且把fill 的背景透明度调成.5左右 其次, 我们需要可以根据需求创建一些UI element. 这里我创建了一个background, 1个label ...
分类:
移动开发 时间:
2020-07-08 20:01:19
阅读次数:
115
解决办法:1.外部父级盒子加一个边框2.外部父级盒子设置overflow:hidden3.使用伪元素类示例如下: <style> .con{ width: 300px; height: 300px; background-color: gold; border: 1px solid black; / ...
分类:
其他好文 时间:
2020-07-07 12:57:14
阅读次数:
65
It lets you focus on improving the “Chatbot” part of your project by providing readymade code for other background tasks like deploying, creating serv ...
分类:
其他好文 时间:
2020-07-07 10:25:28
阅读次数:
79
实现毛玻璃效果 使用CSS实现毛玻璃效果,使用CSS滤镜filter中的blur属性实现。 实现 首先定义一个填充满整个屏幕的背景。 <style type="text/css"> body{ width: 100vw; height: 100vh; margin: 0; background-im ...
分类:
其他好文 时间:
2020-07-06 12:35:10
阅读次数:
81
html, body { width: 100%; height: 100%; margin: 0; padding: 0; } body { background-color: #eeeeee; display: flex; justify-content: center; align-items ...
分类:
Web程序 时间:
2020-07-05 17:17:12
阅读次数:
83
鼠标悬停和移除 效果图 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style> #div1{ width:100px; height:100px; background-color:red; borde ...
分类:
其他好文 时间:
2020-07-05 15:31:46
阅读次数:
68