Created
May 8, 2024 19:14
-
-
Save odessy/6736bb8f0fbf8cdf2d5874ef23cdd1c9 to your computer and use it in GitHub Desktop.
Pipeline 7 Custom button outline style
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.button.outline { | |
--btn-text: var(--text); | |
--btn-bg-hover: var(--hairline); | |
--btn-bg: rgb(255 255 255 / 0%); | |
font-family: var(--TYPE-STACK-BUTTON); | |
font-style: var(--TYPE-STYLE-BUTTON); | |
font-weight: var(--TYPE-WEIGHT-BUTTON); | |
text-transform: var(--FONT-BUTTON-TRANSFORM); | |
letter-spacing: var(--FONT-BUTTON-LETTER-SPACING); | |
display: inline-block; | |
padding: var(--space-3) var(--space-5); | |
text-decoration: none; | |
text-align: center; | |
vertical-align: middle; | |
cursor: pointer; | |
-webkit-user-select: none; | |
-moz-user-select: none; | |
user-select: none; | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
appearance: none; | |
border-radius: var(--BUTTON-RADIUS); | |
font-size: calc(var(--font-3) * var(--TYPE-ADJUST-BUTTON)); | |
background-color: #fff0; | |
transition: background-color .5s cubic-bezier(.215,.61,.355,1); | |
border: 1px solid var(--btn-text); | |
color: var(--btn-text); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment