Skip to content

Commit e03831a

Browse files
Merge pull request #109 from radzhiv25/newbtn
Newbtn
2 parents 3598637 + 3350676 commit e03831a

File tree

2 files changed

+42
-3
lines changed

2 files changed

+42
-3
lines changed

buttons/buttons.css

+29
Original file line numberDiff line numberDiff line change
@@ -2249,3 +2249,32 @@ a:focus-visible {
22492249
}
22502250
/* Deepesh Sharma's button 1 ends*/
22512251

2252+
2253+
/* radzhiv's btn start*/
2254+
.radzhiv-btn-1{
2255+
padding: 10px;
2256+
font-size: 20px;
2257+
font-weight: bolder;
2258+
border-radius: 5px;
2259+
background-image: linear-gradient(to right,#3494E6,#ec6ead);
2260+
color: white;
2261+
}
2262+
.radzhiv-btn-1:hover{
2263+
text-align: center;
2264+
color: #f35626;
2265+
background-image: -webkit-linear-gradient(92deg, #f35626, #feab3a);
2266+
-webkit-background-clip: text;
2267+
-webkit-text-fill-color: transparent;
2268+
animation: hue 10s infinite linear;
2269+
}
2270+
2271+
@keyframes radzhiv25-button-hue {
2272+
from {
2273+
-webkit-filter: hue-rotate(0deg);
2274+
}
2275+
to {
2276+
-webkit-filter: hue-rotate(-360deg);
2277+
}
2278+
}
2279+
/*radzhiv's btn end*/
2280+

index.html

+13-3
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@
260260

261261
<!-- raulwwq0 btn start -->
262262
<div class="button-container">
263-
<button class="raulwwq0-button-1-1"><span>Hover me</span></button>
263+
<button class="raulwwq0-button-1"><span>Hover me</span></button>
264264
<div class="createdby-section">
265265
Created by
266266
<a href="https://github.com/raulwwq0">raulwwq0</a>
@@ -439,7 +439,6 @@
439439
</div>
440440
<!-- cyphers 2nd button end -->
441441

442-
443442
<!-- kkartik07's button start -->
444443
<div class="button-container">
445444
<button class="kkartik07-btn-1"> Hover me </button>
@@ -575,6 +574,17 @@
575574
</div>
576575
<!-- Deepesh Sharma btn end-->
577576

577+
<!-- radzhiv's btn start -->
578+
<div class="button-container">
579+
<button class="radzhiv-btn-1">Hover me</button>
580+
<div class="createdby-section">
581+
Created by
582+
<a href="https://github.com/radzhiv25">radzhiv</a>
583+
</div>
584+
</div>
585+
<!-- radzhiv's btn end -->
586+
587+
578588
</div>
579589

580590
</main>
@@ -628,4 +638,4 @@
628638

629639
</body>
630640

631-
</html>
641+
</html>

0 commit comments

Comments
 (0)