ul :: before{
content:"";
}
请问老师,这个伪对象选择器,想添加非文字内容的话,该怎么设置?比如新增图片
value有啥用,写啥都行吗
老师,本案例中的 div class=wrap 这个盒子没有设置相应的css,那么设置它的目的是什么
value=?,有什么要求划分吗,还是谁便取的?
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>雪碧图</title> <style> .box1{ width: 209px; height: 61px; background-image: url("image/spirite.png"); } .box2{ width: 78px; height: 76px; background-image: url("image/spirite.png"); background-position: -524px 0; } </style> </head> <body> <div class="box1"></div> <div class="box2"></div> <!--<div class="box3"></div>--> </body> </html>
我现在弄得是第二个盒子,我现在只想要绿色新品的哪,但是我弄不出来那样的效果,老师帮我看看吧
<style> *{ margin: 0; padding: 0; } a{ text-decoration: none; } .box{ width: 303px; height: 375px; background-color: red; position: relative; } .box img{ width: 100%; } .text{ width: 100%; height: 88px; position: absolute; left: 0px; bottom: 20px; text-align: center; } .name{ color: #fff; font-size: 21px; font-weight: 800; } .yang{ color: #fff; font-size: 14px; } .yg{ color: #ebce6b; font-size: 24px; font-weight: 700; } </style> </head> <body> <div class="box"> <a href=""> <img src="img/370ad36f-425c-453a-b406-ccb2a0dffeec.jpg" alt=""> <div class="text"> <p class="name">MEIZU UR 高端定制耳机 预约</p> <p class="yang">【预约专用】私人定制,为你而声</p> <p class="yg">¥200</p> </div> </a> </div> </body> </html>
老师,这个font代码在这里有啥作用?
下图有疑问,相对定位应该是以自身为基准进行平移吧
表格width、height的值带px,还是不带px,有区别和要求吗
此案例中div class=container,但是设置css格式中,并没有设置此盒子的样式 ,那它的作用是什么
代码和视频的是一样的,咋就出不来?
用谷歌调试工具的话也不会动
老师好,我想问一下,在实际项目中,这块是否需要写form表单,您之前说这里需要用到form完成交互,那不写form的话这块的数据是否能够提交成功?
type="radio" name="sex" value="1" 这里我不明白name的作用是什么
<body> <table border="1" cellspacing="0" align="center" style="text-align: center;" width="300" height="200" bgcolor="pink"> <caption bgcolor="yellow">标题</caption> <tr> <td>表格</td> <td>表格</td> </tr> <tr> <td>表格</td> <td>表格</td> </tr> </table> </body>
问题描述:
<caption bgcolor="yellow">
caption标签设置bgcolor不生效,即表格标题没有黄色背景(用CSS设置背景颜色可以),为啥呢?
你好老师,css的表格属性里折叠边框border-collapse属性是不是相当于表格属性里的callspacing padding属性相当于callpadding
老师,那现在微软的edge浏览器是啥内核
非常抱歉给您带来不好的体验!为了更深入的了解您的学习情况以及遇到的问题,您可以直接拨打投诉热线:
我们将在第一时间处理好您的问题!
关于
课程分类
百战程序员微信公众号
百战程序员微信小程序
©2014-2025百战汇智(北京)科技有限公司 All Rights Reserved 北京亦庄经济开发区科创十四街 赛蒂国际工业园网站维护:百战汇智(北京)科技有限公司 京公网安备 11011402011233号 京ICP备18060230号-3 营业执照 经营许可证:京B2-20212637