CSS边框样式,阴影等

Original 2019-01-18 15:17:11 265
abstract:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>CSS选择器</title>
<style>
#box{width: 200;height: 200px;background-color: yellow;}
h1 em{font-size: 50px;color: yellow;}
.bbox{font-family: 'Times New Roman', Times, serif;color: #000;}
.shadow{width: 100px;height: 200px;box-shadow:0px 10px 20px #cccccc ;}
</style>

/head>

<body>

<div id="box"><p style="font-size: 100px" align="center">CSS</p></div>

<h1><em>CSS</em></h1>

<p><em>CSS</em></p>

<p class="bbox">CSS</p>

<div class="shadow"></div>

</body>

</html>


Correcting teacher:灭绝师太Correction time:2019-01-18 15:24:19
Teacher's summary:后期要运用到实例中去的,所以一定要熟练掌握哦!

Release Notes

Popular Entries