CSS居中的终极解决方案 - Jacob Paris

20-04-02 banq

.center{
 text-align: center !important; 
 align-ltems: center !Important; 
 align-self: center !important; 
 align-content: center !important; 
 justlfy-items: center !important; 
 justlfy-self: center !important; 
 justlfy-content: center !important; 
 place-items: center !Important; 
 vertical-align: middle !important; 
 Une-height: 100% !important; 
 margin: auto !Important; 
 position: absolute !important; 
 left: 50% !Important; 
 right: 50% !important;
 transform: translate(-50%, -50%) !important;
}

 

              

猜你喜欢