질문/답변
고래스킨 CSS 사이드바 반고정
안녕하세요.
아로스님 강의에 나온 고래스킨 경우 제 HTML CSS에는 아예 #container #main #siderbar가 없고, 그 아래(#container 이하)의 것들만 있습니다.
이를 땐 아래 고래스킨을 어떻게 CSS에 입력하면 좋겠습니까? 또 넣어야 할 #container #main #siderbar 의 copy하는 방법과 위치를 알려주시면 감사하겠습니다.
만약 copy가 안되면 직접 타이핑하는 방법도 부탁드립니다. 좋은 정보를 주셔서 감사합니다.
#container {
position: relative;
}
#container .content-wrap {
max-width: 1080px;
margin: 0 auto;
padding: 0 20px;
}
#container .content-wrap:before {
content: "";
position: absolute;
top: 0;
left: 50%;
z-index: 10;
width: 1px;
height: 100%;
margin-left: 255px;
background-color: #eee;
}
#container .content-wrap:after {
content: "";
clear: both;
display: block;
height: 0;
visibility: hidden;
댓글
댓글 로딩 중...