Created
November 18, 2014 16:30
-
-
Save cpaul007/5607b0635950bfcdea41 to your computer and use it in GitHub Desktop.
CSS for flexslider
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
.minimum .flexslider { | |
background: #fff; | |
border: none; | |
border-radius: 0; | |
-webkit-border-radius: 0; | |
-moz-border-radius: 0; | |
box-shadow: none; | |
-webkit-box-shadow: none; | |
-moz-box-shadow: none; | |
margin: 0 auto; | |
padding: 0; | |
position: relative; | |
width: 100%; | |
overflow: hidden; | |
top: 60px; | |
} | |
@media only screen and (min-width: 768px) { | |
.flex-caption{ | |
background: rgba(0,0,0,0.75); | |
bottom: 0px; | |
color: #FFF; | |
letter-spacing: 1px; | |
max-width: 350px; | |
padding: 20px; | |
position: absolute; | |
right:0; | |
} | |
.flex-caption h2.title{ | |
color: #FFF; | |
text-transform: uppercase; | |
} | |
.flex-caption a.read-more{ | |
border: 1px solid #FFF; | |
clear: both; | |
color: #FFF; | |
cursor: pointer; | |
display: table; | |
padding: 10px 28px; | |
margin: 10px 0; | |
} | |
.minimum .flex-control-nav { | |
position: absolute; | |
left: 10px; | |
text-align: center; | |
top: 40%; | |
width: auto; | |
z-index: 20; | |
} | |
.minimum .flex-control-nav li { | |
display: block; | |
margin: 0 0 1px; | |
} | |
.minimum .flex-control-paging li a { | |
border-radius: 0; | |
-webkit-border-radius: 0; | |
-moz-border-radius: 0; | |
display: block; | |
height: 25px; | |
width: 4px; | |
} | |
} | |
@media only screen and (max-width: 1023px) { | |
.minimum .flexslider { top: 0; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment