Last active
January 30, 2019 21:56
-
-
Save andy922200/dfcdc4ebf7c39ec21290d6f607de7c9f to your computer and use it in GitHub Desktop.
ALPHA CAMP Semester 1 Week 2
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
*{ | |
box-sizing:border-box; /* 全版面使用,讓排版較為直覺。*/ | |
} | |
.clearfix{ | |
clear:both; | |
} | |
#banner{ | |
background-image:url("http://picsum.photos/1170/450?image=950"); | |
height:450px; | |
background-position:center; | |
background-size:cover; | |
background-repeat:no-repeat; /* 可以避免重複圖片出現 */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment