Skip to content

Commit 7c65a5b

Browse files
Merge pull request #763 from vigneshs55/patch-1
style css edited new
2 parents 92c7355 + 05685a9 commit 7c65a5b

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

BirthdayLetter/style.css

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,29 @@ body {
77
background-color: #d64e39;
88
}
99

10-
.container {
10+
.container
11+
{
1112
position: relative;
1213
}
13-
.valentines {
14+
.valentines
15+
{
1416
position: relative;
1517
top: 50px;
1618
cursor: pointer;
1719
animation: up 3s linear infinite;
1820
}
1921

2022
/* Style the envelope and the card */
21-
.envelope {
23+
.envelope
24+
{
2225
position: relative;
2326
width: 300px;
2427
height: 200px;
2528
background-color: #f08080;
2629
}
2730

28-
.envelope:before {
31+
.envelope:before
32+
{
2933
background-color: #f08080;
3034
content: "";
3135
position: absolute;
@@ -37,7 +41,8 @@ body {
3741
border-radius: 30px 0 0 ;
3842
}
3943

40-
.card {
44+
.card
45+
{
4146
position: absolute;
4247
background-color: #eae2b7;
4348
width: 270px;
@@ -47,7 +52,8 @@ body {
4752
box-shadow: -5px -5px 100px rgba(0, 0, 0, 0.4);
4853
}
4954

50-
.card:before {
55+
.card:before
56+
{
5157
content: "";
5258
position: absolute;
5359
border: 3px solid #003049;
@@ -155,4 +161,4 @@ body {
155161
50% {
156162
transform: scaleX(0.85);
157163
}
158-
}
164+
}

0 commit comments

Comments
 (0)