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">. Father{Height:100px;width:100px;Background-color:Green;position:relative; }. Son{Height:50px; /*Hidden away width*/width:0px;Background-color:Grey;position:Absolute;Top:0; Right:-100px; /*Take it back a little faster.*/transition:width 200ms; } /*intersection selector, so the parent-child div Box can*/. Father:hover. Son{ /*write transition in the hover, it is very clever*/ /*slow down when you stretch.*/width:100px;transition:width 800ms; } </style></Head><Body> <Divclass= "Father"> <Divclass= "Son"></Div> </Div></Body></HTML>
Effect
Extended
CSS3 base transition with position for a left-to-right pop-up 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 transition with position for a right-to-left pop-up effect