边框+阴影小案例

Original 2019-08-14 09:45:15 276
abstract:<!DOCTYPE html><html lang="en"><head>   <meta charset="UTF-8">   <meta name="viewport" content="width=device-width, in

<!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>边框+阴影</title>

   <style>

      .border1{

          width: 200px;height: 200px;background: pink; border: 1px solid ;

      }

      .border2{

       width: 200px;height: 200px;background: greenyellow; border-top: 1px solid blue;

      }

      .shadow{

       width: 200px;height: 200px;box-shadow: 0px 20px 30px inset;

      }

   </style>

</head>

<body>

   <div class="border1"></div>

   <div class="border2"></div>

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

</body>

</html>


Correcting teacher:天蓬老师Correction time:2019-08-15 10:59:40
Teacher's summary:这个作业 , 如果配个图片, 就完美了

Release Notes

Popular Entries