CSS中的边框样式

Original 2019-04-24 13:38:56 211
abstract:<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> .main{ width: 80%; height:80px; back

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title></title>

<style type="text/css">

.main{

width: 80%;

height:80px;

background-color: #CCCCCC;

       border-radius:240px;

box-shadow: 0px 6px 30px #ccc;border: 1px solid #CCCCCC inset; 

margin-left: 170px;

}

p{

font-weight:bold;

padding: 20px;

color:  azure;

}

</style>

</head>

<body>

<div class="main"><p align="center">T&nbsp;S教学开发网<p></div>

</body>

</html>


Correcting teacher:查无此人Correction time:2019-04-24 15:41:51
Teacher's summary:完成的不错,可以把常用的样式,写到一个公用的文件,每次直接拿来用就可以了。继续加油。

Release Notes

Popular Entries