File tree Expand file tree Collapse file tree 2 files changed +57
-0
lines changed Expand file tree Collapse file tree 2 files changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>  
2+ < html > 
3+ < head > 
4+ < link  rel ="help " href ="https://drafts.csswg.org/css-viewport/#zoom-property "> 
5+ < link  rel ="match " href ="reference/abspos-static-position-ref.html "> 
6+ < style > 
7+ body  {
8+     margin :  0 ;
9+     zoom :  2 ;
10+ }
11+ .parent  {
12+     margin-top :  50px  ;
13+     margin-left :  25%  ;
14+     height :  100px  ;
15+     outline :  2px   solid black;
16+ }
17+ 
18+ .abspos  {
19+     position :  absolute;
20+     width :  100px  ;
21+     height :  100px  ;
22+     background-color :  green;
23+ }
24+ </ style > 
25+ </ head > 
26+ < body > 
27+ < div  class ="parent "> 
28+     < div  class ="abspos "> </ div > 
29+ </ div > 
30+ </ body > 
31+ </ html > 
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>  
2+ < html > 
3+ < style > 
4+ body  {
5+   margin :  0 ;
6+ }
7+ .parent  {
8+     margin-top :  100px  ;
9+     margin-left :  25%  ;
10+     height :  200px  ;
11+     outline :  4px   solid black;
12+ }
13+ 
14+ .abspos  {
15+     position :  absolute;
16+     width :  200px  ;
17+     height :  200px  ;
18+     background-color :  green;
19+ }
20+ </ style > 
21+ < body > 
22+ < div  class ="parent "> 
23+     < div  class ="abspos "> </ div > 
24+ </ div > 
25+ </ body > 
26+ </ html > 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments