MINI-REPEATER 1.09 (light)
by velo_ninja
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
margin: 0;
display: flex;
align-items: center;
justify-content: center;
width: 100vw;
height: 100vh;
background-color: #ffffff;
}
.itemDiv {
width: 70vw;
margin: 5px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
position: relative;
background: rgba(200,50,150, 0.7);
transition: background-color 0.5s, color 0.8s;
cursor: pointer;
display: flex;
align-items: center;
flex-wrap: wrap;
position: relative;
}
.itemDiv:hover {background-color: rgba(100,150,250, 0.9);}
.thumbnail {
width: 200px;
height: 150px;
background: white;
object-fit: cover;
border-radius: 10%;
margin-right: 10px;
padding: 3px;
transition: transform 0.5s; /* Add transition property */
}
.itemDiv:hover .thumbnail {
transform: scale(0.95); /* Apply the zoom-out effect on hover */
}
.idString {
background-color: rgba(255,255,255, 0.9);
border: 1px solid lightgrey;
position: absolute;
top: 0;
right: 0;
color: grey;
margin: auto;
padding: 2%;
border-radius: 0% 0% 0% 20%;
}
.orangeDiv {
width: 250px;
height: 150px;
background: transparent;
border-radius: 5%;
padding: 3px;
margin: 3px;
color: white;
}
.orangeDiv:hover {
width: 250px;
...