Blogger Information
Blog 4
fans 0
comment 0
visits 2093
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
边框效果课后作业3-12
大卫同学的博客
Original
431 people have browsed it

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>边框</title>

<!-- <link rel="icon" type="image/x-icon" href=""> -->

<style type="text/css">

  *{margin: 0;padding: 0;}

/* 边框属性:border:宽度 样式 颜色*/


div{


width: 200px;

height: 200px;

margin: 50px auto;

/*border: 1px dashed #ccc;*/

   /* 设置单边边框*/

   border: 1px dashed #ccc;

  /* border-left: 1px dotted #cc;

   border-right: 1px solid #cc;

   border-bottom: 1px double #cc;*/

}

/*边框阴影:box-shadow:x y 阴影宽度 阴影颜色*/


p{

width: 200px;

height: 200px;

margin: 50px;

box-shadow: 2px 2px 20px #ccc;

/*边框圆角 border-radius: */

/*border-radius: 10px;*/

/*圆形*/

/*border-radius: 50%;*/

/*控制单边框圆角*/

border-top-left-radius: 20px;

border-top-right-radius: 20px;

border-bottom-right-radius: 20px;

border-bottom-left-radius: 20px;



}



</style>

</head>

<body>

  <div></div>

  <p></p>

</body>

</html>


Correction status:Uncorrected

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post