![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
css
皮皮停
再远的路,出发了,就会有到达的一天。
展开
-
css如何画有边框的三角形
vue的logo就可以看作是一个有边框的三角形。以画一个vue的logo为例子: <div> <div id="vue-logo"> <div class="green"> <div class="gray"> <div class="white"></div> </div>原创 2020-05-27 19:21:53 · 1338 阅读 · 0 评论 -
CSS如何让元素水平,竖直方向都居中?
第一种原理:通过定位和调整matgin-top和margin-left的位置的方式调节。 <style type="text/css"> .demo{ width: 200px; height: 200px; background-color: skyblue; position: absolute; top:50%; left: 50%...原创 2020-03-27 00:03:42 · 452 阅读 · 0 评论