Li Wu:
Heng Learn to think together, honouring teachers save Thanksgiving. Leaf See root three return to one, rivers the same oneness.
Meekness Conscience Lord, willing to do without regrets to the most bitter. Reading exercises to keep the body and mind, sincere advice and the line and cherish.
Ide:visual Studio 2017
Browser:chrome
Os:win7
Code
<!DOCTYPE HTML><HTML><Head> <MetaCharSet= "Utf-8" /> <Metaname= "Author"content= "Https://www.cnblogs.com/jizuiku"/> <title></title> <styletype= "Text/css">Div{width:200px;Height:200px;Border:1px solid Red;margin:50px; }. Shadow-out{ /*Box-shadow: Horizontal position vertical position blur distance shadow dimension shadow color inner/outer shadow RGBA (0,0,0,0.5) Transparent ... Inner/outer shadow: The inner shadow requires some inset, while the outer shadow is not written. */Box-shadow:5px 5px 34px 3px rgba (0,0,0,0.5) Inset; }. Shadow-in{Box-shadow:5px 5px 34px 3px rgba (0,0,0,0.5); } </style></Head><Body> <Divclass= "Shadow-out"></Div> <Divclass= "Shadow-in"></Div></Body></HTML>
Effect
Extension code
<!DOCTYPE HTML><HTML><Head> <MetaCharSet= "Utf-8" /> <Metaname= "Author"content= "Https://www.cnblogs.com/jizuiku"/> <title></title> <styletype= "Text/css">Div{width:200px;Height:200px;Background-color:Rgba (100,255,100,0.5); /*move it.*/margin:100px; /*Turn round*/Border-radius:50%; /*inner Shadow, outer shadow*/Box-shadow:5px 5px 10px 6px rgba (255,255,255,0.5) inset, 5px 5px 10px 6px rgba (0,0,0,0.5); } </style></Head><Body> <Div> </Div></Body></HTML>
Effect
CSS3 excellent, worth learning.
Learning resources: www.w3cschool.cn + itcast and Itheima video library + Pure Heart.
If you have public resources, can share to me, with your resources to learn also can.
Blog post is to watch the video, into thinking written. It's good that the teacher speaks well. Blog bad, is to give the most bitter not serious.
CSS3 Base box-shadow box inner and outer shadows