Home / eCommerce / CSS snipett
Duplicate Snippet

Embed Snippet on Your Site

CSS snipett

Code Preview
css
/* ===== VCLIP MEDIA CLONE - GLOBAL STYLES ===== */
:root {
    --primary: #2D5BE3;
    --primary-dark: #1A48C1;
    --secondary: #FF6B35;
    --dark: #1A1A2E;
    --light: #F8F9FA;
    --gray: #6C757D;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 10px;
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}
.vclip-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}
h1 {
    font-size: 3.5rem;
}
h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}
h3 {
    font-size: 1.5rem;
}
p {
    margin-bottom: 20px;
    color: var(--gray);
}
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}
/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(45, 91, 227, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(45, 91, 227, 0.4);
    color: var(--white);
}
.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}
/* Section Spacing */
section {
    padding: 100px 0;
}
.section-dark {
    background: var(--dark);
    color: var(--white);
}
.section-dark p {
    color: rgba(255, 255, 255, 0.8);
}
/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}
/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    section { padding: 70px 0; }
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    h1 { font-size: 1.8rem; }
    .vclip-container { padding: 0 15px; }
    .btn { padding: 12px 24px; }
}

Comments

Add a Comment