上一页 1 ··· 4 5 6 7 8
摘要: 效果图如下: 边框样式实现一个三角形,具体代码如下: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-s 阅读全文
posted @ 2020-03-24 08:30 飘逸_winxin 阅读(1080) 评论(0) 推荐(0) 编辑
摘要: 选择符的权重问题: 内联样式表(1000)>id选择符(100)>class选择符(10)>标签选择符(1) 伪类选择器权重为10 包含选择符权重等于权重之和 eg:#box div{} 100+1=101 群组选择符权重是不会发生变化的,保持原来的权重值 !important权重最高 css层叠性 阅读全文
posted @ 2020-03-20 10:39 飘逸_winxin 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 引入方式: <style> <link rel="stylesheet" href="./css/style.css"> </style> <style> @import url(style.css) </style> link 和 @import 区别: 1.本质区别: link属于html一个标 阅读全文
posted @ 2020-03-20 09:19 飘逸_winxin 阅读(175) 评论(0) 推荐(0) 编辑
摘要: CSS3选择符 属性选择器 1、E[attr]:只使用属性名,但没有确定任何属性值 2、E[attr=“value”]:指定属性名,并指定了该属性的属性值 3、E[attr~=“value”]:指定属性名,并且具有属性值,此属性值是一个词列表,并且以空格隔开,其中词列表中包含了一个value词,而且 阅读全文
posted @ 2020-03-03 08:56 飘逸_winxin 阅读(355) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8