Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcb41ccb

Browse files
committed
Added Project 30 - 14 Button Hover Effects
1 parent35c57ca commitcb41ccb

File tree

4 files changed

+530
-0
lines changed

4 files changed

+530
-0
lines changed

‎30- Button Effects/._index.html

4 KB
Binary file not shown.

‎30- Button Effects/index.html

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<!DOCTYPE html>
2+
<htmllang="en">
3+
<head>
4+
<metacharset="UTF-8"/>
5+
<metahttp-equiv="X-UA-Compatible"content="IE=edge"/>
6+
<metaname="viewport"content="width=device-width, initial-scale=1.0"/>
7+
<link
8+
rel="stylesheet"
9+
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
10+
integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w=="
11+
crossorigin="anonymous"
12+
/>
13+
14+
<linkrel="stylesheet"href="style.css"/>
15+
<title>Button Hover Effects</title>
16+
</head>
17+
<body>
18+
<divclass="container">
19+
<buttonclass="btn btn-effect-1">Button 1</button>
20+
<buttonclass="btn btn-effect-2">Button 2</button>
21+
<buttonclass="btn btn-effect-3">Button 3</button>
22+
<buttonclass="btn btn-effect-4">Button 4</button>
23+
<buttonclass="btn btn-effect-5">Button 5</button>
24+
<hr/>
25+
<buttonclass="btn btn-effect-6">Button 6</button>
26+
<buttonclass="btn btn-effect-7">Button 7</button>
27+
<buttonclass="btn btn-effect-8">Button 8</button>
28+
<hr/>
29+
<divclass="btn btn-effect-9">
30+
<divclass="top-face">Top Face</div>
31+
<divclass="front-face">Front Face</div>
32+
</div>
33+
<divclass="btn btn-effect-10">
34+
<divclass="bottom-face">Bottom Face</div>
35+
<divclass="front-face">Front Face</div>
36+
</div>
37+
<hr/>
38+
<buttonclass="btn btn-effect-11">Button 11</button>
39+
<buttonclass="btn btn-effect-12">Button 12</button>
40+
<buttonclass="btn btn-effect-13">Button 13</button>
41+
<buttonclass="btn btn-effect-14">
42+
<span> Button 14<iclass="fas fa-angle-right"></i></span>
43+
</button>
44+
</div>
45+
</body>
46+
</html>

‎30- Button Effects/snippets

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
width: 186px;
2+
height: 77px;
3+
4+
5+
6+
7+
8+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
9+
10+
11+
12+
13+
14+
15+
16+
17+
18+
19+
20+
21+
22+
23+
24+
25+
26+
27+
28+
29+
30+
31+
32+
33+
34+
35+
36+
37+
38+
39+
40+
background-image: linear-gradient(
41+
to right,
42+
#1fa2ff 0%,
43+
#12d8fa 51%,
44+
#1fa2ff 100%
45+
);
46+
47+
48+
0% {
49+
background-color:#12d8fa;
50+
}
51+
25% {
52+
background-color:turquoise;
53+
}
54+
50% {
55+
background-color: yellowgreen;
56+
}
57+
75% {
58+
background-color:thistle ;
59+
}
60+
100% {
61+
background-color: #12d8fa;
62+
}
63+
64+
65+
66+
67+
68+
69+
70+
71+
72+
73+
74+
75+
76+
77+
78+
79+
80+
81+
82+
83+
84+
85+
86+
87+
88+
89+
90+
91+
92+
93+
94+
95+
96+
97+
98+
99+
100+
101+
102+
103+
104+
105+
106+
107+
0% {
108+
transform: scale(0.95);
109+
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
110+
}
111+
112+
70% {
113+
transform: scale(1);
114+
box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
115+
}
116+
117+
100% {
118+
transform: scale(0.95);
119+
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
120+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp