摘要: em, i { font-style: normal } * { margin: 0; padding: 0 } li { list-style: none } /* 图片后字体垂直于中部位置*/ img { border: 0; vertical-align: middle } /* 鼠标为指针样 阅读全文
posted @ 2021-06-24 21:51 贾正直 阅读(298) 评论(0) 推荐(0)
摘要: /* inset内部阴影,默认外部 */ box-shadow: 10px 10px 10px 10px greenyellow inset; 阅读全文
posted @ 2021-06-24 17:17 贾正直 阅读(51) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-06-24 08:18 贾正直 阅读(20) 评论(0) 推荐(0)
摘要: 保存时自动格式化代码 阅读全文
posted @ 2021-06-23 11:35 贾正直 阅读(53) 评论(0) 推荐(0)
摘要: Web前端之iframe详解 - 滥好人 - 博客园 (cnblogs.com) 阅读全文
posted @ 2021-06-22 16:22 贾正直 阅读(19) 评论(0) 推荐(0)
摘要: <table border="1px" width="100%"> <!-- 设置每一列样式 --> <colgroup> <col style="background-color: green;"> <!-- 横跨两列设置背景 --> <col span="2" style="background 阅读全文
posted @ 2021-06-18 21:03 贾正直 阅读(174) 评论(0) 推荐(0)
摘要: <picture> <!-- 屏幕宽度不超过600px显示2.jpg 不超过900px显示3.jpg 否则显示1.jpg --> <source srcset="2.jpg" media="(max-width: 600px)"> <source srcset="3.jpg" media="(max 阅读全文
posted @ 2021-06-18 20:21 贾正直 阅读(149) 评论(0) 推荐(0)
摘要: <!-- 页面宽度大于600px才引入desktop样式表 --> <link href="desktop.css" rel="stylesheet" media="screen and (min-width: 600px)"> <!-- 引入图标 --> <link rel="shortcut i 阅读全文
posted @ 2021-06-18 17:14 贾正直 阅读(31) 评论(0) 推荐(0)
摘要: <form action="video.html" method="get"> <div> <label for="name">用户名:</label> <input type="text" id="name" name="user_name" /> </div> <div> <label for= 阅读全文
posted @ 2021-06-18 16:38 贾正直 阅读(846) 评论(0) 推荐(0)
摘要: <body> <table id="table1"> <caption>hello table</caption> <thead> <tr> <!-- 跨列 --> <th colspan="2">The table header</th> </tr> </thead> <tbody> <tr> < 阅读全文
posted @ 2021-06-18 16:22 贾正直 阅读(170) 评论(0) 推荐(0)