Skip to content

Instantly share code, notes, and snippets.

@aprydatko
Last active May 31, 2017 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aprydatko/69d9e58fe52edf5a9a01a2c3bf569b53 to your computer and use it in GitHub Desktop.
Save aprydatko/69d9e58fe52edf5a9a01a2c3bf569b53 to your computer and use it in GitHub Desktop.
center position owl-carousel
// center position owl-carousel
.owl-nav
position: absolute
top: 50%
width: 100%
text-align: right
.owl-prev, .owl-next
display: inline-block
position: relative
opacity: 1
transition: color .25s ease
.fa
font-size: 14px
color: $accent
text-align: center
transition: color .25s ease
&:hover
opacity: 0.5
.owl-prev
text-align: left
float: left
left: -60px
.owl-next
right: -60px
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment