5月9号
又是一天,搞到這個點才來寫,每天都有新東西灌入,今天又學了新知識,要記得東西太多了,一天下來腦子好亂啊,今天學了下框架和css樣式表,忽然發現這東西遠比我想象的要難太多了,天哪,這不剛完成今天的作業:
<title>作業</title>
<style type="text/css" >
*{
margin :0;
padding :0;
background-image:url(img/timg.jpg);
background-repeat:no-repeat;
background-position:left 0px top 20px;
background-size:100% auto;width:100%;
background-attachment:fixed;
}
div {
font-family:微軟雅黑;
font-size:14px;
font-weight:bold;
text-align:center;
border-bottom:1px solid black;
width:200px;
height:100px;
}
#d1 {
width:200px;
height:200px;
line-height:200px;
}
.c1 {
width:200px;
height:150px;
line-height:100px;
}
#d2 {
width:300px;
height:150px;
line-height:150px;
?
}
.c2 {
width:300px;
height:200px;
line-height:200px;
}
?
</style>
?
</head>
<body >
<!--<img src="img/timg.jpg" width="100%" height="80%"/>-->
<div id="d1">提筆我畫西游</div>
<div class="c1">山外青山樓外樓</div>
<div id="d2">多少次我再回頭</div>
<div class="c2">忘不掉你的溫柔</div>
</body>
?
轉載于:https://www.cnblogs.com/qwer123666/p/6832839.html
總結
- 上一篇: Jquery Easy UI Datag
- 下一篇: AHB接口转APB