Skip to content

Commit fe80166

Browse files
Merge pull request Design-and-Code#96 from shiningshani/main
added button
2 parents 3ba43d6 + b209fe9 commit fe80166

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed

buttons/buttons.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1927,3 +1927,45 @@ box-shadow: rgb(40, 159, 237) 5px 5px 0px 0px, rgb(95, 184, 255) 10px 10px 0px 0
19271927
}
19281928
/* Nitish-btn-2 end */
19291929

1930+
1931+
/* Shani button starts */
1932+
1933+
.button-Shani {
1934+
width: 60%;
1935+
height: 20%;
1936+
color: white;
1937+
background: transparent;
1938+
position: relative;
1939+
transition: ease-out 0.3s;
1940+
border: 1px solid #43fbf2;
1941+
border-radius: 3px;
1942+
font-size: 15px;
1943+
outline: none;
1944+
z-index: 1;
1945+
}
1946+
1947+
.button-Shani:hover {
1948+
font-size: large;
1949+
color: rgb(54, 20, 20);
1950+
font-weight: 300;
1951+
cursor: pointer;
1952+
}
1953+
1954+
.button-Shani::before {
1955+
transition: 0.3s all ease;
1956+
position: absolute;
1957+
top: 0;
1958+
bottom: 0;
1959+
right: 50%;
1960+
left: 50%;
1961+
content: "";
1962+
background-color: #43fbf2;
1963+
}
1964+
1965+
.button-Shani:hover::before {
1966+
transition: 0.4s all ease;
1967+
left: 0;
1968+
right: 0;
1969+
opacity: 1;
1970+
z-index: -1;
1971+
}

index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,15 @@
474474
</div>
475475
</div>
476476
<!-- haldaranup 1st button ends -->
477+
478+
479+
<!-- button-shani starts -->
480+
<div class="button-container">
481+
<button class="button-Shani">Hover Me!</button>
482+
<div class="createdby-section">Created by <a href="https://github.com/shiningshani">Shani</a></div>
483+
</div>
484+
<!-- button-shani ends -->
485+
477486
<!-- Nitish's btn start -->
478487
<div class="button-container">
479488
<button class="Nitish-btn-2"><span>Button</span></button>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy