CSS3特效图标

白色玫瑰 程序猿

时间: 2023-07-15 阅读: 1 字数:2071

{}
√\r\n//勾的创建\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\ni{display:inline-block;width:10px;height:5px;background:red;line-height:0;font-size:0;vertical-align:middle;-webkit-transform:rotate(45deg);}\r\n\r\n\r\n\r\ni:after{con...

//勾的创建

i{ display: inline-block; width: 10px;height:5px; background: red;line-height: 0;font-size:0;vertical-align: middle;-webkit-transform: rotate(45deg);}

i:after{content:'/';display:block;width: 20px;height:5px; background: red;-webkit-transform: rotate(-90deg) translateY(-50%) translateX(50%);}

 × 


 //叉的创建 


       a{ display: inline-block; width: 20px;height:5px; background: red;line-height: 0;font-size:0;vertical-align: middle;-webkit-transform: rotate(45deg);} 


  a:after{content:'/';display:block;width: 20px;height:5px; background: red;-webkit-transform: rotate(-90deg);} 


  


  


 //视频播放图标 .course[data-type="2"] { .course__cover { &:before, &:after { content: ''; display: block; position: absolute; left: 5px; bottom: 5px; } &:after { //实现圈圈 width: 20px; height: 20px; border: 2px solid white; background: rgba(0, 0, 0, .6); border-radius: 12px; background-clip: padding-box; } &:before { //实现三角形 height: 0; width: 0; border-left: 8px solid white; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 9px; margin-bottom: 7px; z-index: 5; } } } 

转载于:https://www.cnblogs.com/supreme-H/p/7604316.html

原文地址:https://blog.csdn.net/weixin_30730151/article/details/96756855?ops_request_misc=&request_id=86e809fea7e5438eb011285d686a4b82&biz_id=&utm_medium=distribute.pc_search_result.none-task-blog-2~all~koosearch~default-7-96756855-null-null.142^v88^insert_down28v1,239^v2^insert_chatgpt&utm_term=css3%E7%89%B9%E6%95%88

本文章网址:https://www.sjxi.cn/detil/6312777819c54530a1b0ff4c54db772f

最新评论

当前未登陆哦
登陆后才可评论哦

湘ICP备2021009447号

×

(穷逼博主)在线接单

QQ: 1164453243

邮箱: abcdsjx@126.com

前端项目代做
前后端分离
Python 爬虫脚本
Java 后台开发
各种脚本编写
服务器搭建
个人博客搭建
Web 应用开发
Chrome 插件编写
Bug 修复