MINI-REPEATER 1.08

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;
        }

        .container {
            display: flex;          
            align-items: center;
            justify-content: center;
            width: 95vw;
            height: 100vh;
        }

        .mainDiv {
            width: calc(100% - 40px);
            background: rgba(100,50,150, 1.0);
            border: 2px solid #FFF;
            border-radius: 5px;
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            box-shadow: 1px 2px 4px rgba(0,0,0,.4);
            padding: 50px 10px 10px 10px;
            box-sizing: border-box;
            margin-bottom: 20px;
            position: relative;
        }

        .mainTitle {
            color: white;
            font-size: 25px;
            text-align: center;
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
        }

        .itemDiv {
            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: 150px;
            height: 150px;
            background: white;
            object-fit: cover;
            border-radius: 10%;
            margin-right: 10px;
           ...