Skip to content

Instantly share code, notes, and snippets.

@fronteer-kr
Created January 22, 2015 02:28
Show Gist options
  • Save fronteer-kr/7c878ac7b94c09c45998 to your computer and use it in GitHub Desktop.
Save fronteer-kr/7c878ac7b94c09c45998 to your computer and use it in GitHub Desktop.
pagination 관련 css 정리 (2015.1.22)
.pagination { margin: 0;}
.pagination > li.disabled > a, .pagination > li.disabled > span { color: #eee; }
.pagination,
.pagination ~ .rowOption {display: inline-block; margin-left:5px;}
.pagination ~ .rowOption > span {
float: left;
position: relative;
padding: 6px 12px;
margin-right: 4px;
text-decoration: none;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 4px;
}
.pagination ~ .rowOption > select {float: left; height: 34px;}
@media screen and (max-width: 440px) {
.pagination ~ .rowOption {
overflow: hidden;
display: block;
width: 100%;
margin: 5px 0;
}
.pagination ~ .rowOption > span {float: left;}
.pagination ~ .rowOption select {float: right;}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment