![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
css
weixin_41655541
这个作者很懒,什么都没留下…
展开
-
纯css文本超过3行展开收起效果
纯css文本超过3行展开收起效果原创 2022-07-05 18:46:26 · 1621 阅读 · 0 评论 -
css样式
1.自定义CSS样式 下面自定义 CSS样式 .font01{ font-family:"宋体";//设置字体 font-size:12px;//设置字体大小 color:#000000;//定义颜色 text-decoration:none;//清除文本修饰 } 如先得代码为一个自定义的CSS样...原创 2018-07-04 10:38:30 · 117 阅读 · 0 评论 -
css弹框样式
<div style="position:fixed;background-color:rgb(255,255,255,.3);width:100%;height:100%;top:0;left:0;"><div style="width:100px;height:100px;margin:0 auto;position:absoulte;top:50%;left:50%;"...原创 2018-08-08 15:38:14 · 4503 阅读 · 0 评论 -
css --下拉菜单实例
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <原创 2018-08-18 15:38:51 · 187 阅读 · 0 评论 -
css继承样式
超凡大师原创 2018-08-16 15:01:56 · 1006 阅读 · 0 评论 -
css清除浮动带来的影响
1、父级div定义伪类:after和zoom<style type="text/css"> .div1{background:#000080;border:1px solid red;} .div2{background:#800080;border:1px solid red;height:100px;margin-top:10px} .left...原创 2018-08-16 17:13:05 · 791 阅读 · 0 评论 -
css嵌套规则
1.内敛元素不能嵌套块级元素2.p标签和h1~h6不能嵌套块级标签3.常用块级元素:address , center , div , dl ,, form , h1 , h2 , h3 , h4 , h5 , h6 , menu , ol , p , table , ul , li4.常用内敛元素:a , b , br , em , font , img , input , label...原创 2018-09-18 14:55:19 · 3303 阅读 · 0 评论 -
HTML5中日历框问题
HTML5中input[type='date']自定义样式 HTML5提供了日历控件功能,缩减了开发时间,但有时它的样式确实不如人意,我们可以根据下面的代码自行修改。 建议:复制下面的代码段,单独建立一个css文件,方便我们修改。/* 修改日历控件类型 */::-webkit-datetime-edit { padding: 1px;} /*控...原创 2018-10-11 15:25:44 · 2398 阅读 · 0 评论 -
flex布局
一、flex-direction1.row(水平排列)代码: <body> <div style="width:300px;border:1px solid red;display: flex;flex-direction: row;"> <div style="width: 100px;height: 100px...原创 2019-04-03 10:57:26 · 235 阅读 · 0 评论