Button styling

This commit is contained in:
Thomas Smith 2022-09-14 21:29:56 -04:00
parent 5754a44c0b
commit 7bc8ab0fc5
3 changed files with 38 additions and 6 deletions

View file

@ -2,21 +2,37 @@
.detail-btn-large{ .detail-btn-large{
display:inline-block; display:inline-block;
font-family: "pp-neue-machina", sans-serif; font-family: "pp-neue-machina", sans-serif;
font-size: 20px;
background-color: #1a1a1a; background-color: #1a1a1a;
border: .5px solid #ffffff; border: .5px solid #ffffff;
color: #fff; color: #fff;
padding-top: 5px; padding-top: 5px;
text-decoration: none; text-decoration: none;
text-transform: uppercase; text-transform: uppercase;
width: 35%; width: 50%;
height: 75px; height: 75px;
transition: 0.1s ease-in-out; transition: 0.2s ease-in-out;
} }
.detail-btn-large:hover{ .detail-btn-large:hover{
background-color: #8000ff; background-color: #8000ff;
box-shadow: inset 0px 0px 0px 8px #1a1a1a !important; box-shadow: inset 0px 0px 0px 6px #1a1a1a !important;
} }
/* Icon Styling */
.detail-btn-large .icon-enter-arrow{
display: inline-block;
position: relaitve;
margin-right: 10px;
transition: 0.2s ease-in-out;
}
.detail-btn-large:hover .icon-enter-arrow{
display: inline-block;
transform: rotate(-45deg) !important;
}
</style> </style>
<button href="#" class="detail-btn-large">details</button> <button href="#" class="detail-btn-large"><i class="icon-enter-arrow"></i>VIEW ALL DETAILS</button>

View file

@ -17,6 +17,21 @@
background-color: #8000ff; background-color: #8000ff;
box-shadow: inset 0px 0px 0px 4px #1a1a1a !important; box-shadow: inset 0px 0px 0px 4px #1a1a1a !important;
} }
/* Icon Styling */
.detail-btn .icon-enter-arrow{
display: inline-block;
position: relaitve;
margin-right: 10px;
transition: 0.2s ease-in-out;
}
.detail-btn:hover .icon-enter-arrow{
display: inline-block;
transform: rotate(-45deg) !important;
}
</style> </style>
<button href="#" class="detail-btn">details</button> <button href="#" class="detail-btn"><i class="icon-enter-arrow"></i>details</button>

View file

@ -350,6 +350,7 @@ hr{
} }
.social-icon{ .social-icon{
display: inline-block;
margin-right: 20px !important; margin-right: 20px !important;
position: relative;
top:3px;
} }