mirror of
https://github.com/jgthms/bulma
synced 2026-03-21 12:44:30 -07:00
Fix native
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
justify-content: center
|
||||
padding: 2em
|
||||
text-decoration: none
|
||||
&:hover
|
||||
.native-cta
|
||||
box-shadow: 0 1rem 2rem 0 rgba($black, 0.1)
|
||||
transform: translateY(-0.25rem)
|
||||
|
||||
.native-img
|
||||
border-radius: 3px
|
||||
@@ -46,22 +50,15 @@
|
||||
|
||||
.native-cta
|
||||
border: none
|
||||
border-radius: 3px
|
||||
box-shadow: 0 6px 13px 0 hsla(0, 0%, 0%, .15)
|
||||
display: inline-block
|
||||
box-shadow: 0 0.5rem 1rem 0 rgba($black, 0.2)
|
||||
flex-grow: 0
|
||||
flex-shrink: 0
|
||||
font-size: 0.75em
|
||||
font-weight: $weight-normal
|
||||
padding: 0.75em 1em
|
||||
text-transform: uppercase
|
||||
transform: translateY(-1px)
|
||||
transition: transform .3s ease-in-out
|
||||
vertical-align: top
|
||||
white-space: nowrap
|
||||
&:hover
|
||||
box-shadow: none
|
||||
transform: translateY(1px)
|
||||
font-weight: $weight-semibold
|
||||
height: auto
|
||||
padding: 0.5em 1em
|
||||
transition-duration: $speed * 2
|
||||
transition-property: box-shadow, transform
|
||||
will-change: box-shadow, transform
|
||||
|
||||
$native-bp: 600px
|
||||
|
||||
|
||||
Reference in New Issue
Block a user