Created
November 11, 2015 03:53
-
-
Save owenroberts/9200501697e53a5a8865 to your computer and use it in GitHub Desktop.
YouTube API Example CSS
This file contains 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
body { | |
font-family:Helvetica, sans-serif; | |
line-height: 1.45; | |
} | |
#subtitles { | |
font-size:22px; | |
padding:.25em; | |
margin:.25em 0; | |
} | |
#container { | |
margin:0 auto; | |
width:560px; | |
height:315px; | |
position:relative; | |
} | |
#menu { | |
position:absolute; | |
top:10px; | |
z-index:9; | |
} | |
#subtitles { | |
position:absolute; | |
bottom:10px; | |
color:white; | |
text-shadow: 0 0 10px black; | |
} | |
#catgif { | |
position: absolute; | |
width: 200px; | |
top:20px; | |
right:20px; | |
} | |
button { | |
background: white; | |
border-radius:3px; | |
border:none; | |
font-size:18px; | |
color:blue; | |
cursor:pointer; | |
} | |
button:hover { | |
color:pink; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment