Home  >  Article  >  Web Front-end  >  Detailed explanation of common methods of operating images in CSS

Detailed explanation of common methods of operating images in CSS

高洛峰
高洛峰Original
2017-03-26 11:03:111190browse

This article mainly explains in detail the relevant information on the commonly used methods of operating images in Css. Friends in need can refer to it

body{
    background-color: #0078b3;
}
 
.image{
    border: 1px solid darkgray;
    width: auto;
    height: auto;
    float: left;
    text-align: center;
    margin: 5px;
}
 
img{
    margin: 5px;
    opacity: 1;
}
 
.text{
    font-size: 12px;
    margin-bottom: 5px;
}
 
a:hover{
    background-color: aqua;
}



    
    图片
    

      
                     背景                  
一张背景图
    
    
                     背景                  
一张背景图
    
    
                     背景                  
一张背景图
    
    
                     背景                  
一张背景图
    

The above is the detailed content of Detailed explanation of common methods of operating images in CSS. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn