Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/ProjectHive.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 52 additions & 0 deletions Domains/Frontend/MiniProjects/CSSCLOUDS/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# ☁️ CSS 2D Cloud Animation — Frontend Mini Project 🌤️

A soothing **pure CSS animation project** that brings a peaceful sky to life with drifting 2D clouds.
Designed to showcase how simple shapes, gradients, and keyframes can create a realistic animation effect — all without JavaScript!

---

## ✨ Features (MVP)
- 🌈 Gradient sky background with depth
- ☁️ Smoothly floating layered clouds using CSS keyframes
- 💨 Responsive layout (works on all screen sizes)
- 💻 Lightweight and pure HTML + CSS project
- 🧩 Perfect for creative front-end contributions

---

## 🧠 Tech Stack
**Frontend:** HTML, CSS
**Animation:** CSS `@keyframes`, `transform`, `animation-duration`

---

## ⚙️ Getting Started

### 1️⃣ Clone the Repository
```bash

git clone https://github.com/shwetharbaliga/CSS-CLOUD-ANIMATION.git
cd CSS-CLOUD-ANIMATION
```

### 2️⃣ Run the Project

Just open index.html in your browser — no setup needed!
Sit back and watch your clouds drift peacefully across the sky ☁️✨

## 📂 Project Structure
```
CSS-CLOUD-ANIMATION/
├── index.html
├── style.css
└── README.md
```

🧡 Credits

Built by Shweta Ravindra Baliga

👩‍💻 Contributor

Contributor: shwetharbaliga
20 changes: 20 additions & 0 deletions Domains/Frontend/MiniProjects/CSSCLOUDS/src/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CSS 2D Cloud Animation</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="sky">
<div class="cloud"></div>
<div class="cloud-one"></div>
<div class="cloud-two"></div>
<div class="cloud-lg"></div>
<div class="cloud-sm"></div>
<div class="cloud-sm1"></div>
<div class="cloud-sm2"></div>
</div>
</body>
</html>
220 changes: 220 additions & 0 deletions Domains/Frontend/MiniProjects/CSSCLOUDS/src/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
body {
margin: 0;
padding: 0;
background-color:#A8F1FF;
}
.cloud{
transform: translateX(-250px);
top:60px;
width:140px;
height:40px;
background:#fff;
border-radius:50px;
position:relative;
}
.cloud::before{
content:'';
position:absolute;
width:40px;
height:35px;
background:#fff;
border-radius:50%;
top:-16px;
left:15px;
}
.cloud::after{
content:'';
position:absolute;
width:80px;
height:80px;
background:#fff;
border-radius:50%;
top:-40px;
right:15px;
}
.cloud-one{
transform: translateX(-250px);
top:120px;
width:140px;
height:40px;
background:#fff;
border-radius:50px;
position:relative;
}
.cloud-one::before{
content:'';
position:absolute;
width:40px;
height:35px;
background:#fff;
border-radius:50%;
top:-16px;
left:15px;
}
.cloud-one::after{
content:'';
position:absolute;
width:80px;
height:80px;
background:#fff;
border-radius:50%;
top:-40px;
right:15px;
}
.cloud-two{
transform: translateX(-250px);
top:20px;
width:140px;
height:40px;
background:#fff;
border-radius:50px;
position:relative;
}
.cloud-two::before{
content:'';
position:absolute;
width:40px;
height:35px;
background:#fff;
border-radius:50%;
top:-16px;
left:15px;
}
.cloud-two::after{
content:'';
position:absolute;
width:80px;
height:80px;
background:#fff;
border-radius:50%;
top:-40px;
right:15px;
}
.cloud-lg{
transform: translateX(-250px);
top:10px;
width:170px;
height:50px;
background:#fff;
border-radius:50px;
position:relative;
}
.cloud-lg::before{
content:'';
position:absolute;
width:60px;
height:55px;
background:#fff;
border-radius:50%;
top:-35px;
left:15px;
}
.cloud-lg::after{
content:'';
position:absolute;
width:110px;
height:110px;
background:#fff;
border-radius:50%;
top:-60px;
right:15px;
}
.cloud-sm{
transform: translateX(-250px);
top:60px;
width:80px;
height:20px;
background:#fff;
border-radius:50px;
position:relative;
}
.cloud-sm::before{
content:'';
position:absolute;
width:20px;
height:20px;
background:#fff;
border-radius:50%;
top:-13px;
left:10px;
}
.cloud-sm::after{
content:'';
position:absolute;
width:50px;
height:45px;
background:#fff;
border-radius:50%;
top:-27px;
right:5px;
}
.cloud-sm1{
transform: translateX(-250px);
top:-120px;
width:80px;
height:20px;
background:#fff;
border-radius:50px;
position:relative;
}
.cloud-sm1::before{
content:'';
position:absolute;
width:20px;
height:20px;
background:#fff;
border-radius:50%;
top:-13px;
left:10px;
}
.cloud-sm1::after{
content:'';
position:absolute;
width:50px;
height:45px;
background:#fff;
border-radius:50%;
top:-27px;
right:5px;
}
.cloud-sm2{
transform: translateX(-250px);
top:30px;
width:80px;
height:20px;
background:#fff;
border-radius:50px;
position:relative;
}
.cloud-sm2::before{
content:'';
position:absolute;
width:20px;
height:20px;
background:#fff;
border-radius:50%;
top:-13px;
left:10px;
}
.cloud-sm2::after{
content:'';
position:absolute;
width:50px;
height:45px;
background:#fff;
border-radius:50%;
top:-27px;
right:5px;
}
@keyframes float {
0% { transform: translateX(-250px); }
90% { transform: translateX(100vw); }
100% { transform: translateX(100vw); }
}
.cloud { animation: float 60s linear infinite; animation-delay: 0s; }
.cloud-one { animation: float 60s linear infinite; animation-delay: 10s; }
.cloud-two { animation: float 60s linear infinite; animation-delay: 20s; }
.cloud-lg { animation: float 70s linear infinite; animation-delay: 30s; }
.cloud-sm { animation: float 50s linear infinite; animation-delay: 5s; }
.cloud-sm1 { animation: float 55s linear infinite; animation-delay: 45s; }
.cloud-sm2 { animation: float 65s linear infinite; animation-delay: 25s; }
Loading