随笔分类 -  CSS

摘要:https://www.thosefree.com/web/page/4 https://ikonate.com/ https://feathericons.com/ 阅读全文
posted @ 2021-12-20 15:22 乌卡拉卡 阅读(34) 评论(0) 推荐(0)
摘要:$vm_base: 1920; $vh_base: 1080; // 计算vw @function vw($px) { @return ($px / $vm_base) * 100vw; } // 计算vh @function vh($px) { @return ($px / $vh_base) * 阅读全文
posted @ 2021-11-09 16:27 乌卡拉卡 阅读(1494) 评论(0) 推荐(0)
摘要:/* rem 适应*/ /让文字和标签的大小随着屏幕的尺寸做变话 等比缩放/ var html = document.getElementsByTagName('html')[0]; /取到屏幕的宽度/ var width = window.innerWidth; /* 640 100 320 50 阅读全文
posted @ 2021-11-09 11:59 乌卡拉卡 阅读(57) 评论(0) 推荐(0)
摘要:Can I use https://www.caniuse.com/?search=grid 阅读全文
posted @ 2021-01-06 13:29 乌卡拉卡 阅读(453) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_43537721/article/details/99713375?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-6.control&depth_1-utm 阅读全文
posted @ 2021-01-05 14:18 乌卡拉卡 阅读(100) 评论(0) 推荐(0)
摘要:https://heroicons.com/ 阅读全文
posted @ 2020-12-23 10:26 乌卡拉卡 阅读(157) 评论(0) 推荐(0)
摘要:http://www.yyyweb.com/freebies 阅读全文
posted @ 2020-12-23 10:23 乌卡拉卡 阅读(57) 评论(0) 推荐(0)
摘要:https://saeedalipoor.github.io/icono/ Also you can load icono from cdn, courtsey from KeyCDN https://saeedalipoor.github.io/icono/icono.min.css 阅读全文
posted @ 2020-12-21 10:08 乌卡拉卡 阅读(731) 评论(0) 推荐(0)
摘要:http://www.webkaka.com/tutorial/html/2020/080498/ 阅读全文
posted @ 2020-12-17 14:53 乌卡拉卡 阅读(82) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/m0_38102188/article/details/80612233 字面意思来看,width,min-width和max-width分别代表的是元素的宽度,最小宽度和最大宽度,那么他们之间有什么联系呢? 1 2 3 4 5 6 7 8 9 当我们只设 阅读全文
posted @ 2020-12-16 19:10 乌卡拉卡 阅读(444) 评论(0) 推荐(0)
摘要:http://www.ecomcn.com/tool/symbolic_text/ 阅读全文
posted @ 2020-12-15 16:06 乌卡拉卡 阅读(74) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/coco1s/p/6253154.html 阅读全文
posted @ 2020-12-09 10:46 乌卡拉卡 阅读(63) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/coco1s/p/6402723.html 阅读全文
posted @ 2020-12-09 10:42 乌卡拉卡 阅读(56) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_41619796/article/details/87784150 阅读全文
posted @ 2020-12-01 18:36 乌卡拉卡 阅读(334) 评论(0) 推荐(0)
摘要:自动换行方法: 1.在中设置样式style为word-wrap:break-word;word-break:break-all; (一般情况只需要设置word-break:break-all即可,但是有时候需要加word-wrap:break-word ) 2.把表格的sytle的table-lay 阅读全文
posted @ 2020-10-17 09:33 乌卡拉卡 阅读(2157) 评论(0) 推荐(0)
摘要:http://www.javanx.cn/web/ 阅读全文
posted @ 2020-07-29 15:27 乌卡拉卡 阅读(115) 评论(0) 推荐(0)
摘要:https://www.jqhtml.com/category/effect http://www.webkaka.com/tutorial/html/ 阅读全文
posted @ 2020-06-24 14:11 乌卡拉卡 阅读(96) 评论(0) 推荐(0)
摘要:记得有次找工作面试的时候,一面试官问了一个CSS方面的问题:如何让元素在浏览器窗口中上下左右居中。我记得当时给了个答案是,先用JS获取浏览器窗口高度,然后给body设置line-height为窗口高度并设置text-align:center, 接着再设置该元素display:inline-block 阅读全文
posted @ 2020-06-18 11:19 乌卡拉卡 阅读(192) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/u/5294c349f0f1 阅读全文
posted @ 2020-06-01 13:56 乌卡拉卡 阅读(123) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/cangqinglang/p/12131476.html 阅读全文
posted @ 2020-05-14 10:03 乌卡拉卡 阅读(124) 评论(0) 推荐(0)