.selected{ border-color: #5FB878; } .selected:after { content: ""; position: absolute; top: 0; right: 0; border-top: 30px solid #5FB878; border-left: ...
分类:
Web程序 时间:
2020-08-06 19:30:10
阅读次数:
99
一、异常 [root@VM_0_4_centos prometheus-grafana-linux]# docker-compose up Traceback (most recent call last): File "/usr/bin/docker-compose", line 9, in <m ...
分类:
其他好文 时间:
2020-08-05 19:45:33
阅读次数:
103
说起three.js,着色器材质总是绕不过的话题,今天郭先生就说一说什么是着色器材质。着色器材质是很需要灵感和数学知识的,可以用简短的代码和绘制出十分丰富的图像,可以说着色器材质是脱离three.js的另一块知识,因此它十分难讲,我们只能在一个一个案例中逐渐掌握着色器语言的使用技巧。 1. 什么是着 ...
分类:
Web程序 时间:
2020-08-03 09:39:06
阅读次数:
213
本题要求实现给定二叉搜索树的5种常用操作。 函数接口定义: BinTree Insert( BinTree BST, ElementType X ); BinTree Delete( BinTree BST, ElementType X ); Position Find( BinTree BST, ...
分类:
其他好文 时间:
2020-08-02 17:35:53
阅读次数:
103
1、padding-bottom实现等比例缩放 原理:1、父元素设置定位为相对定位(position: relative)2、子元素设置定位为绝对定位(position: absolute)3、父元素padding-bottom值为百分比时以父元素为参考,正方形时同父元素一样的百分比。4、子元素的绝 ...
分类:
其他好文 时间:
2020-07-31 18:01:58
阅读次数:
89
position: fixed是CSS固定定位,一般用于导航栏吸顶效果。该属性使用的时候要注意一些细节: 1.固定定位的盒子必须有宽度 也就是必须设置width,如果没有设置宽度,那么该盒子的宽度就是内容撑开的宽度,如果没有内容那么会默认为0,从而无法在页面上看到。由于固定定位一般用于导航栏吸顶效果 ...
分类:
其他好文 时间:
2020-07-30 22:17:07
阅读次数:
129
CSS背景和列表介绍 1、 CSS背景和列表介绍 背景样式: background-color 设置元素的背景颜色。 background-image 把图像设置为背景。 background-position 设置背景图像的起始位置。 background-attachment 背景图像是否固定或 ...
分类:
Web程序 时间:
2020-07-30 16:54:04
阅读次数:
149
wxml: <scroll-view class="warp_" scroll-y="true"> <view style='' style='position: absolute;z-index: 2;top:0;left:0;right:0;'> <canvas canvas-id="myCan ...
分类:
微信 时间:
2020-07-30 16:42:48
阅读次数:
119
/*最外层的盒子*/.container{ width: 640px; height: 640px; /*盒子居中*/ margin: 100px auto; /*相对定位*/ position: relative;}/*两个按钮*/.btn{ width: 100%; height: 100%; ...
分类:
Web程序 时间:
2020-07-29 21:40:58
阅读次数:
78
应用技术:jQuery、tooltip、align-items 代码: 1、样式设置 <style> .year-outer-bar { position: relative; display: flex; align-items: flex-end; 侧轴终点对齐弹性盒的各项元素,必须与flex搭 ...
分类:
其他好文 时间:
2020-07-29 21:23:02
阅读次数:
75