20191104 front-end learning summary

20,191,104 study concluded
(a) place holder prompt text
imput type = "text" placeholder = " text prompt"

(Ii) two navigation
(1) Positioning System: the normal stream float position
1. Locating position: relative position is a relative position relative to their original
left: 20px; 20px i.e. moving from left to right 20px.
top: 50px; moves downward 50px.
2. Non-static positioning
position: Absolute;
left: 0 PX;
Top: 0 PX;
relative to the containing body html from (0,0) closest to the non-static positioning element
sub absolute parent phase
3. The fixed positioning
position : Fixed
A {
position: Fixed;
right: 0;
bottom: 100px;
}

4.float flexbox absolute fixed will flow out of the document
relative positioning and margins, without departing from the document flow.
Elements overlap occurs: Locating

5.Z-index layer from a start to a position together with
an example: the Z-index: 1;
position: relative;

 

Guess you like

Origin www.cnblogs.com/Wardenclyffe/p/11909262.html