0% found this document useful (0 votes)
16 views3 pages

New Text Document

The document contains HTML and CSS code for a web page that utilizes Bootstrap and Font Awesome for styling. It features a gallery layout with animated elements, including a golden crown effect and a glowing border animation for images. The overall design incorporates a vibrant color scheme and responsive button interactions.

Uploaded by

Mohamed Yousef
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views3 pages

New Text Document

The document contains HTML and CSS code for a web page that utilizes Bootstrap and Font Awesome for styling. It features a gallery layout with animated elements, including a golden crown effect and a glowing border animation for images. The overall design incorporates a vibrant color scheme and responsive button interactions.

Uploaded by

Mohamed Yousef
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

<!

-- Bootstrap CSS -->


<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/
all.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?
family=Cairo:wght@300;400;700&display=swap" rel="stylesheet">
<link
href="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.css"
rel="stylesheet">

<style>
body {
font-family: 'Cairo', sans-serif;
background: linear-gradient(135deg, #ff69b4, #1a1a2e);
color: white;
}

.gallery-card {
background-color: rgba(255, 255, 255, 0.1);
border-radius: 15px;
padding: 20px;
margin-bottom: 30px;
backdrop-filter: blur(10px);
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-item {
text-align: center;
margin-bottom: 30px;
position: relative;
}

.image-container {
position: relative;
display: inline-block;
}

.golden-crown {
position: absolute;
top: -30px;
left: 50%;
transform: translateX(-50%);
color: gold;
font-size: 50px;
text-shadow: 0 0 10px rgba(255,215,0,0.7);
z-index: 10;
animation: crownShine 2s infinite alternate;
}

.image-wrapper {
position: relative;
display: inline-block;
padding: 10px;
border-radius: 15px;
background: linear-gradient(45deg,
#ff6b6b,
#4ecdc4,
#45b7d1,
#ff6b6b,
#blueviolet,
#ff69b4
);
background-size: 400% 400%;
animation: borderGlow 5s ease infinite;
}

.image-wrapper img {
height: 400px;
width: 250px;
object-fit: cover;
border-radius: 5px;
position: relative;
z-index: 2;
transition: transform 0.3s ease, filter 0.3s ease;
}

.image-wrapper:hover img {
transform: scale(1.05);
filter: brightness(1.1) contrast(1.1);
}

@keyframes borderGlow {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}

@keyframes crownShine {
0% {
text-shadow: 0 0 10px rgba(255,215,0,0.5);
color: gold;
}
100% {
text-shadow: 0 0 20px rgba(255,215,0,1);
color: #FFD700;
}
}

.btn-interactions {
display: flex;
justify-content: space-between;
margin-top: 10px;
}

.btn-interactions .btn {
width: 22%;
padding: 8px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}

.btn-interactions .btn:hover {
transform: scale(1.1);
box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.btn-custom {
background-color: #ff69b4;
border-color: #ff69b4;
color: white;
}
</style>

You might also like