Hover zoom effect made with CSS3

Hover zoom effect made with CSS3

Result:

Implementation code:

html

<link href='https://fonts.googleapis.com/css?family=Roboto:100,400,300,500,700' rel='stylesheet' type='text/css'>

<div align="center" class="fond">
<div style="width:1000px;">

<div class="style_prevu_kit" style="background-color:#cb2025;"></div>
<div class="style_prevu_kit" style="background-color:#f8b334;"></div>
<div class="style_prevu_kit" style="background-color:#97bf0d;"></div>
<div class="style_prevu_kit" style="background-color:#00a096;"></div>
<div class="style_prevu_kit" style="background-color:#93a6a8;"></div>


<div style=" padding:5px; color:#b5e6e3; font-weight:300; font-size:30px; font-family:'Roboto';padding-top:20px;">jb <font style="font-weight:400;">51</font></div>
        <a href="http://www.wifeo.com/code" style="text-decoration:none;" target="_blank"><div style=" color:#b5e6e3; font-weight:300; font-size:20px; font-family:'Roboto';">123WORDPRESS.COM</div></a>
  
</div>
</div>

CSS3

.fond{position:absolute;padding-top:85px;top:0;left:0; right:0;bottom:0;
 background-color:#00506b;}

.style_prevu_kit
{
    display:inline-block;
    border:0;
    width:196px;
    height:210px;
    position: relative;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1); 
    -ms-transition: all 200ms ease-in;
    -ms-transform:scale(1); 
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1);
    transition: all 200ms ease-in;
    transform: scale(1);   

}
.style_prevu_kit:hover
{
    box-shadow: 0px 0px 150px #000000;
    z-index: 2;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1.5);
    -ms-transition: all 200ms ease-in;
    -ms-transform:scale(1.5);   
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1.5);
    transition: all 200ms ease-in;
    transform: scale(1.5);
}

The above is the details of the hover zoom effect created by CSS3. For more information about CSS3 hover zoom, please pay attention to other related articles on 123WORDPRESS.COM!

<<:  HTML+CSS to add a delete cross and a picture delete button in the upper right corner of the picture

>>:  Detailed explanation of the configuration method of Vue request interceptor

Recommend

Detailed explanation of how MySQL (InnoDB) handles deadlocks

1. What is deadlock? The official definition is a...

JavaScript implements simple date effects

The specific code of JavaScript date effects is f...

Example of using rem to replace px in vue project

Table of contents tool Install the plugin Add a ....

Detailed explanation of computed properties in Vue

Table of contents Interpolation Expressions metho...

How to create components in React

Table of contents Preface Component Introduction ...

Solve the group by query problem after upgrading Mysql to 5.7

Find the problem After upgrading MySQL to MySQL 5...

Teach you how to build Tencent Cloud Server (graphic tutorial)

This article was originally written by blogger We...

JavaScript to achieve mouse drag effect

This article shares the specific code of JavaScri...

javascript input image upload and preview, FileReader preview image

FileReader is an important API for front-end file...

How to use custom images in Html to display checkboxes

If you need to use an image to implement the use ...

Solution to elementui's el-popover style modification not taking effect

When using element-ui, there is a commonly used c...

Complete steps to implement face recognition login in Ubuntu

1. Install Howdy: howdy project address sudo add-...