html的课设作业6,第七节课html标签元素属性作业-2019-9-6 作业
實例
html>
2019最新課程表table?{
/*?border:?1px?solid?#000;?*/
/*?border-collapse:?collapse;?*/
width:?800px;
margin:?2px?auto;
border-spacing:?0;
/*?box-shadow:?2px?2px?2px?#888888;?*/
}
th,
td?{
/*?border:?1px?solid?#000;?*/
text-align:?center;
padding:?10px;
border-left:?1px?solid?#000;
border-top:?1px?solid?#000;
}
th?{
border-top:?none;
}
table?caption?{
font-size:?1.3rem;
font-weight:?bolder;
}
table?thead>tr:first-of-type?{
background:?lightcoral;
}
table?tbody>tr:first-of-type>td:first-of-type?{
background:?lightgreen;
}
table?tbody>tr:nth-last-of-type(2)>td:first-of-type?{
background:?lightpink;
}
table?tfoot>tr:last-of-type?{
background:?lightskyblue;
}
table?th:first-of-type,
table?td:first-of-type?{
border-left:?none;
}
table?th:first-of-type?{
border-radius:?10px?0?0?0;
}
table?th:last-of-type?{
border-radius:?0?10px?0?0;
}
table?tr:last-of-type?td:first-of-type?{
border-radius:?0?0?0?10px;
}
table?tr:last-of-type?td:last-of-type?{
border-radius:?0?0?10px?0;
}
課程表
星期星期一星期二星期三星期四星期五
上午8:00-11:30語文數學英語歷史體育語文數學英語歷史體育語文數學英語歷史體育語文數學英語歷史體育下午
8:00-11:30語文數學英語歷史體育語文數學英語歷史體育備注:打掃衛生后記得將掃帚歸位!
運行實例 ?
點擊 "運行實例" 按鈕查看在線實例
總結
以上是生活随笔為你收集整理的html的课设作业6,第七节课html标签元素属性作业-2019-9-6 作业的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 通过对象指针的方式强行指定到子类_C++
- 下一篇: 微信没有回车键怎么换行_在东平相亲网加了