![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
css
可我不吃肉
这个作者很懒,什么都没留下…
展开
-
纯html+css 个人引导页
在家无聊就随便写了个引导页 (图标和logo均来自b站) /*HTML部分*/ <div id="head"> <nav> <h1> <a href="">可我不吃肉</a> </h1> <div...原创 2020-03-07 16:18:11 · 1910 阅读 · 1 评论 -
侧边栏制作
body,ul{ margin:0; } .tab{ width: 258px; height: 420px; margin:50px auto 0; } .con{ width: 258px; ...原创 2020-02-06 13:52:28 · 445 阅读 · 0 评论 -
定位样式
定位与浮动的区别: 1.浮动元素下不允许有文字等行内元素 定位可以有 <style> body{ margin:0; } .father{ /*position:relative;*/ width: 500px; height: 500px...原创 2020-02-06 10:26:21 · 285 阅读 · 0 评论 -
高级选择器结构
<style> .main>ul>li+li{ color:red; }/*选中main元素里面的ul元素里面的前面有li的li 002、003字体颜色变红*/ </style> <body> <div class="main"> <ul> <li>001</li> <...原创 2020-01-21 19:04:07 · 87 阅读 · 0 评论