Skip to content

Commit 9289e57

Browse files
Merge pull request #131 from avishaan24/avi
button commit
2 parents c8a5639 + a1c74e4 commit 9289e57

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

buttons/buttons.css

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2311,6 +2311,50 @@ a:focus-visible {
23112311
/*radzhiv's btn end*/
23122312

23132313

2314+
/* avishaan24's btn start */
2315+
2316+
.avishaan24-btn-1{
2317+
color: white;
2318+
padding: 15px 70px;
2319+
border: 2px solid white;
2320+
border-radius: 15px;
2321+
font-size: medium;
2322+
margin: auto;
2323+
background: transparent;
2324+
}
2325+
.avishaan24-btn-1:hover{
2326+
cursor: pointer;
2327+
box-shadow: 0 0 1px 5px rgba(138, 59, 88, 0.4), 0 0 1px 10px rgba(138, 59, 88, 0.1), 0 0 1px 15px rgba(138, 59, 88, 0.1);
2328+
transform: rotate(360deg);
2329+
}
2330+
2331+
.avishaan24-btn-1::after {
2332+
content: '';
2333+
width: 30px; height: 30px;
2334+
border-radius: 100%;
2335+
border: 5px solid rgb(238, 236, 238);
2336+
position: absolute;
2337+
z-index: -1;
2338+
top: 50%;
2339+
left: 50%;
2340+
transform: translate(-50%, -50%);
2341+
animation: avishaan24-btn-1-oval 2s infinite;
2342+
}
2343+
@keyframes avishaan24-btn-1-oval {
2344+
0% {
2345+
width: 30px;
2346+
height: 30px;
2347+
opacity: 1;
2348+
}
2349+
100% {
2350+
width: 250px;
2351+
height: 150px;
2352+
opacity: 0;
2353+
}
2354+
}
2355+
2356+
/* avishaan24's btn end */
2357+
23142358
/* Aditya's button starts */
23152359

23162360
.aditya-btn-1 {
@@ -2390,3 +2434,4 @@ a:focus-visible {
23902434
}
23912435

23922436
/* Gaurav Sharma's button 1 end*/
2437+

index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,17 @@
593593
</div>
594594
<!-- radzhiv's btn end -->
595595

596+
<!-- avishaan24-btn-1 start -->
597+
<div class="button-container">
598+
<!-- add your buttons here, eg.-->
599+
<button class="avishaan24-btn-1"> Hover Me !
600+
</button>
601+
<div class="createdby-section">
602+
Created by
603+
<a href="https://github.com/avishaan24/">avishaan24</a>
604+
</div>
605+
</div>
606+
<!-- avishaan24-btn-1 end -->
596607

597608
<!-- Aditya's btn start -->
598609
<div class="button-container">

0 commit comments

Comments
 (0)