摘要: .a{ border: solid #000000 1px; width: 200px; height: 200px; background-color: tomato;}@media screen and (min-width:600px){ .a{ display: none;/*最小宽度600 阅读全文
posted @ 2020-04-22 16:57 HighKK 阅读(105) 评论(0) 推荐(0) 编辑
摘要: .box{ background-color: brown; width: 200px; height: 200px; border-radius: 5px 10px 25px 40px;/*圆角,四个像素从左上到左下顺时针设定,像素越大越圆*/ border: 1px black solid; b 阅读全文
posted @ 2020-04-21 15:44 HighKK 阅读(97) 评论(0) 推荐(0) 编辑
摘要: *{ background-color: burlywood;/*通配符选择器,与body选择器类似*/ } div,p{ font-size: 15px;/*选择器分组*/ } div p{ color: blue;/*后代选择器*/ } div>p{ font-style: italic;/*子 阅读全文
posted @ 2020-04-17 19:55 HighKK 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 文本样式(以下代码都在CSS文件中) p{ width: 300px; text-indent: 10px;缩进大小 text-align: center;水平对齐方式 text-decoration: overline/underline/line-through;上划线、下划线、删除线 whit 阅读全文
posted @ 2020-04-15 15:41 HighKK 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 音频视频 <audio src="路径" controls="controls" loop(自动循环) autoplay(进入页面自动播放) muted(静音)> <video src="路径" controls="controls"> CSS样式表引用方式 <div style="color: r 阅读全文
posted @ 2020-04-14 17:44 HighKK 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 框架 <iframe src="CSS1.html" frameborder="0" width="1000" height="600"></iframe> <iframe src="表格.html" frameborder="0" width="800" height="500"></iframe 阅读全文
posted @ 2020-04-13 16:06 HighKK 阅读(58) 评论(0) 推荐(0) 编辑