随笔分类 - 前端基础样式
摘要:1、循序渐进 <style> /* 基础样式(删除) */ body, html { padding: 0; margin: 0; height: 100vh; width: 100vw; display: flex; justify-content: center; align-items: ce
阅读全文
摘要:<a href=""> <img src="images/ft_l3.png" alt=""> <div class="ewm"> <img src="http://www.vztimes.com/static/default/images/ewm.jpg"> </div> </a> css .ew
阅读全文
摘要:<a href="" class="dxd_radial-gradient">查看更多</a> :root { --main-color: #555; } .dxd_radial-gradient { width: 150px; height: 40px; display: flex; justif
阅读全文
摘要:1.伪类边框线 <div class="dxd_border"> <img src="" alt=""> </div> .dxd_border{ position: relative; overflow: hidden; } .dxd_border::before, .dxd_border::aft
阅读全文
摘要:1. clip-path: polygon(0 0 , 100% 0,100% 90%, 55% 90%,50% 100%, 45% 90%,0 90% ); -webkit-clip-path: polygon(0 0 , 100% 0,100% 90%, 55% 90%,50% 100%, 45
阅读全文
摘要:<style> /* pc_ban */ .pc_ban .swiper-slide { overflow: hidden; } .pc_ban .sw_bg { width: 100%; height: 600px; top: 0; left: 0; transform: scale(1.1);
阅读全文