最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

康娜醬說:老爺們,給個(gè)贊吧!康納快沒電啦![附代碼]

2023-09-16 00:28 作者:泥想什么呢想  | 我要投稿

index.html

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" type="text/css" href="style.css">

<title>CSS 3D Hover Effects</title>

</head>

<body>

<div class="container">

<div class="box">

<img src="01.jpg">

</div>

<div class="box">

<img src="02.jpg">

</div>

<div class="box">

<img src="03.jpg">

</div>

<div class="box">

<img src="04.jpg">

</div>

<div class="box">

<img src="05.jpg">

</div>

<div class="box">

<img src="06.jpg">

</div>

</div>

</body>

</html>


style.css

*

{

margin: 0;

padding:0;

box-sizing: border-box;

}

body

{

display: flex;

justify-content: center;

align-items: center;

min-height: 100vh;

background: #1a252c;

}

.container

{

position: relative;

display: flex;

justify-items: center;

transform-style: preserve-3d;

}

.container .box

{

position: relative;

width: 240px;

height: 240px;

transition: 0.5s;

-webkit-box-reflect:below 1px linear-gradient(transparent,#0002);

}

.container .box img

{

position: absolute;

top: 0;

left: 0;

width: 100%;

height: 100%;

object-fit: cover;

}

.container:hover > :not(:hover)

{

margin: 0 -40px;

filter: drop-shadow(0 0 25px #000) drop-shadow(0 0 45px #000);

transform: perspective(500px) rotateY(45deg) scale(0.95);

}

.container .box:hover ~ .box

{

transform: perspective(500px) rotateY(-45deg) scale(0.95);

}

.container .box:hover

{

transform: perspective(500px) rotateY(0) scale(1.5);

z-index:1000;

}

素材圖片







康娜醬說:老爺們,給個(gè)贊吧!康納快沒電啦![附代碼]的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
渝中区| 襄垣县| 北票市| 乌什县| 泾源县| 兴山县| 内丘县| 金堂县| 洪洞县| 阳新县| 湄潭县| 阜城县| 县级市| 横峰县| 永平县| 延长县| 南汇区| 于田县| 开阳县| 广丰县| 东乌| 东乌珠穆沁旗| 通榆县| 辉县市| 海兴县| 钦州市| 迁西县| 四会市| 淳安县| 昌乐县| 吴旗县| 鹤壁市| 平邑县| 庆云县| 奎屯市| 长岭县| 安化县| 岑巩县| 抚松县| 临武县| 江永县|