Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
RPRP123 authored Mar 12, 2024
1 parent 8af359a commit 499d3f4
Show file tree
Hide file tree
Showing 28 changed files with 2,097 additions and 1 deletion.
Binary file added Balloon-Border.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 34 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,34 @@
# Thei
Happy Birthday

A Happy Birthday animation design in CSS3, HTML5.

URL: http://ayusharma.github.io/birthday/

Technology Used: HTML5 CSS3 jQuery GNU/Linux Digital Ocean as VPS GIMP

# Setup

## If you have python installed:
```
cd Birthday
```

&&

```
python -m SimpleHTTPServer --port 8081
```

visit http://localhost:8081 in your browser.

## If you have nodejs installed
```
npm install
```
&&

```
npm run server-node
```
visit http://localhost:8081 in your browser.

Binary file added b1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added b2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added b3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added b4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added b5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added b6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added b7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bd1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bulb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bulb_blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bulb_green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bulb_orange.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bulb_pink.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bulb_red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bulb_yellow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
271 changes: 271 additions & 0 deletions cake.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,271 @@


//////////////////////////////////////////// var

@D:300px; // Control diameter

///////////////////////////////////////////



/* ============================================== POSITION
*/

.cake{
position:absolute;
display:none;
// top:30%;
left:50%;
margin-left:-(@D/2);
width:@D; height:@D;
}

/* ============================================== BASE
*/

.cake:after{
background:rgba(255,255,255,1);
border-radius:@D;
content:"";
position:absolute;
bottom:0; left:0;
width:@D; height:@D/50;
}

.cake:before{

}

/* ============================================== Candle
*/

.velas{
background:rgba(255,255,255,1);
border-radius:100%;
position:absolute;
top:50%; left:50%;
margin-left:-(@D/2)/20;
margin-top:-(@D/2)/6;
width:@D/20; height:@D/6;
}

.velas:after,
.velas:before{
background:rgba(255,0,0,0.4);
content:"";
position:absolute;
width:100%; height:@D/45;
}

.velas:after{
top:25%; left:0;
}

.velas:before{
top:45%; left:0;
}

/* ============================================== Fire
*/

.fuego{
display:none;
border-radius:100%;
box-shadow:0 0 40px 10px rgba(248,233,209,0.2);
position:absolute;
top:-12px; left:50%;
margin-left:-(@D/2)/15;
//margin-top:-(@D/2)/10;
width:@D/15; height:@D/8;
}

.fuego:nth-child(1){
-webkit-animation:fuego 2s infinite;
-moz-animation:fuego 2s infinite;
-o-animation:fuego 2s infinite;
-ms-animation:fuego 2s infinite;
animation:fuego 2s infinite;

}

.fuego:nth-child(2){
-webkit-animation:fuego 1.5s infinite;
-moz-animation:fuego 1.5s infinite;
-o-animation:fuego 1.5s infinite;
-ms-animation:fuego 1.5s infinite;
animation:fuego 1.5s infinite;

}

.fuego:nth-child(3){
-webkit-animation:fuego 1s infinite;
-moz-animation:fuego 1s infinite;
-o-animation:fuego 1s infinite;
-ms-animation:fuego 1s infinite;
animation:fuego 1s infinite;
}

.fuego:nth-child(4){
-webkit-animation:fuego 0.5s infinite;
-moz-animation:fuego 0.5s infinite;
-o-animation:fuego 0.5s infinite;
-ms-animation:fuego 0.5s infinite;
animation:fuego 0.5s infinite;
}

.fuego:nth-child(5){
-webkit-animation:fuego 0.2s infinite;
-moz-animation:fuego 0.2s infinite;
-o-animation:fuego 0.2s infinite;
-ms-animation:fuego 0.2s infinite;
animation:fuego 0.2s infinite;
}

/* ============================================== Animation Fire
*/

@-webkit-keyframes fuego{
0%{
background:rgba(254,248,97,0.5);
-webkit-transform:translateY(0) scale(1);
}
50%{
background:rgba(255,50,0,0.1);
-webkit-transform:translateY(-(@D/5)) scale(0);
}
100%{
background:rgba(254,248,97,0.5);
-webkit-transform:translateY(0) scale(1);
}
}
@-moz-keyframes fuego{
0%{
background:rgba(254,248,97,0.5);
-moz-transform:translateY(0) scale(1);
}
50%{
background:rgba(255,50,0,0.1);
-moz-transform:translateY(-(@D/5)) scale(0);
}
100%{
background:rgba(254,248,97,0.5);
-moz-transform:translateY(0) scale(1);
}
}
@-o-keyframes fuego{
0%{
background:rgba(254,248,97,0.5);
-o-transform:translateY(0) scale(1);
}
50%{
background:rgba(255,50,0,0.1);
-o-transform:translateY(-(@D/5)) scale(0);
}
100%{
background:rgba(254,248,97,0.5);
-o-transform:translateY(0) scale(1);
}
}
@-ms-keyframes fuego{
0%{
background:rgba(254,248,97,0.5);
-ms-transform:translateY(0) scale(1);
}
50%{
background:rgba(255,50,0,0.1);
-ms-transform:translateY(-(@D/5)) scale(0);
}
100%{
background:rgba(254,248,97,0.5);
-ms-transform:translateY(0) scale(1);
}
}

@keyframes fuego{
0%{
background:rgba(254,248,97,0.5);
transform:translateY(0) scale(1);
}
50%{
background:rgba(255,50,0,0.1);
transform:translateY(-(@D/5)) scale(0);
}
100%{
background:rgba(254,248,97,0.5);
transform:translateY(0) scale(1);
}
}

/* ============================================== Frosting
*/

.cobertura{
background:rgba(236,231,227,1);
border-radius:@D/2;
position:absolute;
top:60%; left:50%;
margin-left:-(@D/2)/1.8;
margin-top:-(@D/2)/10;
width:@D/1.8; height:@D/8;
z-index:10;
}

.cobertura:after,
.cobertura:before{
background:rgba(236,231,227,1);
border-radius:@D;
content:"";
position:absolute;
width:@D/20; height:@D/10;
}

.cobertura:after{
top:@D/15; right:@D/7;
}

.cobertura:before{
top:@D/10; right:@D/11;
}

/* ============================================== BIZCOCHO
*/

.bizcocho{
background:rgba(109,56,38,1);
position:absolute;
bottom:0; left:50%;
margin-left:-(@D/2)/2;
width:@D/2; height:@D/3;
}

.bizcocho:after,
.bizcocho:before{
background:rgba(236,231,227,0.6);
content:"";
position:absolute;
width:100%; height:@D/20;
}

.bizcocho:after{
top:30%; left:0;
}

.bizcocho:before{
top:60%; left:0;
}

/* ============================================== TEXT
*/

h1,
p{
font-family: 'Lato', sans-serif;
font-weight: 300;
font-style:italic;
text-align:center;
width:100%;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
Binary file added cake128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 499d3f4

Please sign in to comment.