Wednesday, 4 July 2012

CSSで画面全体にborderをつける

html:before {
	content: "";
	position: fixed;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border: red solid 4px;
	background-color: #EEEE88;
}
参考: http://coliss.com/articles/build-websites/operation/css/css-tutorial-simplified-page-borders.html

No comments:

Post a Comment