Skip to content

Instantly share code, notes, and snippets.

@andy922200
Last active January 30, 2019 21:56
Show Gist options
  • Save andy922200/dfcdc4ebf7c39ec21290d6f607de7c9f to your computer and use it in GitHub Desktop.
Save andy922200/dfcdc4ebf7c39ec21290d6f607de7c9f to your computer and use it in GitHub Desktop.
ALPHA CAMP Semester 1 Week 2
*{
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