종속형 시트

위키백과, 우리 모두의 백과사전.
(CSS에서 넘어옴)
이동: 둘러보기, 검색
CSS
Gnome-mime-text-css.svg
확장자 .css
MIME 종류 text/css
개발 W3C
파일 포맷 종류 마크업 언어
웹사이트 http://www.w3c.org
HTML
HTML.svg
v  d  e  h

CSS 또는 캐스케이딩 스타일 시트(Cascading Style Sheets)는 마크업 언어가 실제 표시되는 방법을 기술하는 언어로, HTMLXHTML에 주로 쓰이며, XML에서도 사용할 수 있다. W3C의 표준이며, 레이아웃과 스타일을 정의할 때의 자유도가 높다.

마크업 언어가 웹사이트의 몸체를 담당한다면 CSS는 옷과 액세서리 같은 꾸미는 역할을 담당한다고 할 수 있다. 즉, HTML구조는 그대로 두고 CSS 파일만 변경해도 전혀 다른 웹사이트처럼 꾸밀 수 있다. CSS Zen Garden은 하나의 HTML(필요에 따라 최소한의 수정이 있다.)을 CSS만으로 얼마나 다양하게 표현할 수 있는지 알 수 있는 웹사이트다.

현재 개발 중인 CSS3의 경우 그림자 효과, 그라데이션, 변형 등 그래픽 편집 프로그램으로 제작한 이미지를 대체할 수 있는 기능이 추가되었다. 또한 다양한 애니메이션 기능이 추가되어 플래시를 어느정도 대체하고 있다.

버전의 변화[편집]

CSS는 지속적으로 새로운 버전이 나오고 있다. 1996년에 도입된 CSS 1은 CSS의 바탕이 되었다. CSS의 표준으로는 CSS 2.1이 있으며 이전 버전에 비하여 새로운 기능과 도구가 추가되었다. 대다수의 웹브라우저는 CSS 2.1를 잘 지원한다.(인터넷 익스플로러의 경우, 버전 7이 되면서 CSS2.1을 지원한다.) 현재 W3C에서는 CSS3을 표준으로 만들고 있다.

CSS는 여러 수준과 프로파일을 가지고 있다. 각 수준의 CSS는 일반적으로 새로운 기능을 담고 있으며 CSS1, CSS2, CSS3로 나뉜다. 프로파일들은 일반적으로 특정한 장치나 사용자 인터페이스를 위해 만들어진 하나 이상 수준의 CSS의 하부 집합이다. 현재 휴대용 장치, 프린터, 텔레비전 수상기를 위한 프로파일들이 있다.

CSS1[편집]

첫 CSS 규격은 공식 W3C 권고안이 되었으며 그 이름은 CSS1이다. 1996년 12월에 발표되었다.

CSS2[편집]

CSS2는 W3C가 개발하였으며 1998년 5월에 권고안으로 발표되었다.

/* Lostsaga Homepage CSS ver.0.7 make by CSS, 서버지기

  • /

/*font import*/ @import url(http://fonts.googleapis.com/css?family=Roboto:300);

/*css reset*/ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; vertical-align: baseline; }


/*global body setting*/ body{color:#fff;padding:0px;margin:0px;} @media (max-width: 800px) { /*in game page body*/ .ingame {padding:0px;} html{min-height:100%;} body{background:url("http://an1.kr/tmp/a.PNG") no-repeat right top;background-size:736px 710px;background-attachment: fixed;width:100%;padding:0px !important;margin:0px;min-height:100%;} #subBg #cont{padding:0px;width:100%}

.btnMyHome{display:none;} } @media (min-width: 801px) { /*site page body*/ #subBg #cont {padding:0px;width:719px;background:url("http://an1.kr/tmp/a.PNG") no-repeat right top;background-size:100% 100%;} .titArea {display:none;}

}

/*main tag line*/ div#wrap{transition-duration:2s;} a{color:#4ecdec;}

strong{color:#27b9dd !important}


/*header line*/ .actionCont .gameInfo p.check{color:#8bd9ed;} .actionCont{border:0px;} .myActionTop{background:rgba(20,20,20,.75);position:absolute;height:38px;width:100%;z-index:2;}

.actionTab{border:0px;background:rgba(0,0,0,0);width:100%;} .contTab li{width:20%;} .contTab li:nth-child(4){display:none;} .contTab li a{background:rgba(20,20,20,.50);color:#ccc;border:0px;width:100%;transition-duration:.27s;} .contTab li a:hover{background:rgba(20,20,20,75);color:#8bd9ed;border-bottom:1px solid #8bd9ed;} .contTab li.current a {background:rgba(39,185,221,.75);color:#fff} .btnPastBoard{display:none;}

/*char info page line*/ .tbl_gameInfo th{background:#f5f5f5 !important; color:#333} .gameInfo{background:#333;} .gameInfo:nth-child(5){display:none;} .actionCont .gameInfo {background:rgba(0,0,0,0);border:0px;}

.actionCont .gameInfo h5 {font-family:'맑은 고딕';font-size:22px;background:rgba(0,0,0,.3);color:#27b9dd;border-bottom:0px;height:auto;padding:10px;} .actionCont .gameInfo h5 strong {font-family:'맑은 고딕';font-size:22px;color:#27b9dd !important}

.gameInfo .tbl_gameInfo {box-shadow:0px 0px 0px #000} .gameInfo .tbl_gameInfo td{color:rgba(255,255,255,9)}

.tbl_gameInfo th {background:rgba(0,0,0,.0) !important;color:#fff;border:0px;text-align:right;padding-right:10px;text-shadow:0px 0px 3px rgba(0,0,0,1)} .tbl_gameInfo td {background:rgba(0,0,0,0);border:0px;color:#fff;text-shadow:0px 0px 3px rgba(0,0,0,1)}

div.myPhoto{border:0px !important;padding-top:20px;} div.myPhoto > img{content:url("http://lostsaga-image.gscdn.com/2014_grand/class/illust/thum_char_view_o_102.jpg");border-radius:50px;border:1px solid #333;}

ul.infoList{display:none;}

.myActionBtm{border:0px;min-height:240px;transition-duration:.27s;margin:0px;} .myActionBtm > div{top:50px !important;} .myActionBtm .myPhoto{left:25%;text-align:center;width:25%;margin:0px auto 0px auto;} .myActionBtm .myLevel {left:50%;text-align:center;width:25%;margin:0px auto 0px auto;} .myActionBtm .myLevel > * {text-shadow:0px 0px 3px rgba(0,0,0,1) !important;} .myActionBtm .myLevel .fcBlack {font-family: 'Roboto';font-size:3em;font-weight:normal;color:#fff !important;} th:100%;z-index:2}.actionTab{border:0;background:rgba(0,0,0,0);width:100%}.contTab li{width:20%}.contTab li:nth-child(4){display:none}.contTab li a{background:rgba(20,20,20,.50);color:#ccc;border:0;width:100%;transition-duration:.27s}.contTab li a:hover{background:rgba(20,20,20,75);color:#8bd9ed;border-bottom:1px solid #8bd9ed}.contTab li.current a{background:rgba(39,185,221,.75);color:#fff}.btnPastBoard{display:none}.tbl_gameInfo th{background:#f5f5f5!important;color:#333}.gameInfo{background:#333}.gameInfo:nth-child(5){display:none}.actionCont .gameInfo{background:rgba(0,0,0,0);border:0}.actionCont .gameInfo h5{font-family:'맑은 고딕';font-size:22px;background:rgba(0,0,0,.3);color:#27b9dd;border-bottom:0;height:auto;padding:10px}.actionCont .gameInfo h5 strong{font-family:'맑은 고딕';font-size:22px;color:#27b9dd!important}.gameInfo .tbl_gameInfo{box-shadow:0 0 0 #000}.gameInfo .tbl_gameInfo td{color:rgba(255,255,255,9)}.tbl_gameInfo th{background:rgba(0,0,0,.0)!important;color:#fff;border:0;text-align:right;padding-right:10px;text-shadow:0 0 3px rgba(0,0,0,1)}.tbl_gameInfo td{background:rgba(0,0,0,0);border:0;color:#fff;text-shadow:0 0 3px rgba(0,0,0,1)}div.myPhoto{border:0!important;padding-top:20px}div.myPhoto > img{content:url("http://an1.kr/tmp/123.PNG");border-radius:50px;border:1px solid #333}ul.infoList{display:none}.myActionBtm{border:0;min-height:240px;transition-duration:.27s;margin:0}.myActionTop h4 strong{color:rgba(0,0,0,0)!important}.myActionTop h4{color:rgba(0,0,0,0)!important}.myActionTop h4:before{color:#ffee90;content:"무이의 홈피><!!";text-align:center}.myActionBtm > div{top:50px!important}.myActionBtm .myPhoto{left:25%;text-align:center;width:25%;margin:0 auto}.myActionBtm .myLevel{left:50%;text-align:center;width:25%;margin:0 auto}.myActionBtm .myLevel > *{text-shadow:0 0 3px rgba(0,0,0,1)!important}.myActionBtm .myLevel .fcBlack{font-family:'Roboto';font-size:3em;font-weight:400;color:#fff!important}. /*friend page line*/ .myFriend > li{display:none;} .myFriend{text-align:center;color:rgba(255,255,255,.9);background:rgba(0,0,0,.5);padding:10px;} .myFriend:after{content:"무이방@,@"} .paginate{display:none;} .schArea{display:none;}

div.myActionBtm{background:url("http://lostsaga-image.gscdn.com/2014_grand/class/illust/thum_char_view_o_102.jpg") no-repeat right;background-size:100%;transition-duration:0s !important;}

/*post line*/ .checkTab li.current a {color:#27b9dd} .checkTab li.current a {background:rgba(0,0,0,0)} .checkTab li a {color:rgba(200,200,200,.5);padding-left:0px;cursor:pointer} .checkTab li a {background:rgba(0,0,0,0)} .tbl_list {background:rgba(0,0,0,0)} thead{display:none;}

.tbl_list tbody td, .tbl_list tbody td strong, .tbl_list tbody td a {color:#fff} .tbl_list tbody td {border-bottom:0px;}


/*chart line*/ rect[fill="#fcfdfd"]{fill:rgba(0,0,0,0)} /*차트 배경*/ text[fill="#888888"]{fill:rgba(255,255,255,.9)} /*차트 글씨*/ .gameInfo .graph .value {color:rgba(255,255,255,.9)} div.gameInfo div.graph div.value strong {color:#27b9dd !important} rect[fill="#e78f69"], path[fill="#e78f69"]{fill:#8bd9ed} rect[fill="#dd5e27"], path[fill="#dd5e27"]{fill:#27b9dd} path[stroke="#e78f69"]{stroke:#8bd9ed} path[stroke="#dd5e27"]{stroke:#27b9dd} path[stroke="#ffffff"]{stroke:rgba(0,0,0,.75)}


/*char info page*/ .actionCont > h5{display:none;} .myCharBest {display:none;} .myCharList li {float:left;border:0px;padding:0px;width:calc(50% - 15px);background:#27b9dd;padding:5px;border-radius:10px;margin:5px 5px 0px 0px;color:rgba(0,0,0,0)} .myCharList li:nth-child(even){margin:5px 0px 0px 0px;} .myCharList li:nth-child(1){border:0px;} .myCharList li:nth-child(n+5){background:rgba(0,0,0,.3);} .myCharList li:nth-child(n+5) > span.lv{color:#8bd9ed} 전체 .myCharList li span{float:left;text-align:left;margin:0px;padding:8px;color:rgba(255,255,255,.9);text-shadow:0px 0px 3px rgba(0,0,0,1)} .myCharList li span.class{text-align:right;width:30%;color:rgba(255,255,255,.9);} .myCharList li span.lv {color:#ffe44e;font-size:1em;font-family:'맑은 고딕';height:auto;width:20%;} .myCharList li span.ranking {text-align:left;color:rgba(255,255,255,.8);font-size:1em;font-family:'맑은 고딕';height:auto;width:20%;} .myCharList li strong{position:absolute;right:10px !important;bottom:8px;top:auto;right:auto;}


/*guestbook page*/ .visitorList .userName strong {color:#27b9dd !important} #guestbookList{padding:0px;} .replyInput {background:rgba(0,0,0,.3);border:0px;overflow:hidden;padding:10px;margin-bottom:0px;} .visitorList{background:rgba(0,0,0,.1);padding:15px 0px;} .visitorInput h5 {display:none;} .replyInput textarea {position:relative;float:left;width:70%;background:rgba(0,0,0,.5);color:#fff;border:1px solid #333;resize:none;} .replyInput .btnReplyOk{background:#27b9dd;transition-duration:.27s;position:relative;float:left;right:0px;top:0px;padding:10px;width:25%;height:56px;} .replyInput .btnReplyOk:hover{background:#36c7eb} .replyInput span{display:block;top:50px;left:0px;}

.visitorList .userName a, .visitorList .userName strong {color:#27b9dd !important}

/*self*/ .visitorList .myReply img {position:absolute;right:20px;border-radius:30px;width:60px;height:60px;} .visitorList .myReply{background:rgba(0,0,0,.0);width:100%;padding-bottom:20px;margin-top:0px;} .visitorList .myReply .userName{position:absolute;width:200px;text-align:center;bottom:0px;right:-50px;}

.visitorList .myReply .bg{position:absolute;right:100px;background:#27b9dd;width:50%;overflow:hidden;padding:10px;margin-top:20px;border-radius:10px;} .bg > .comt{position:relative;color:#fff;padding:5px;} .bg > .date{position:relative;color:#fff;} .visitorList .myReply .date{right:auto;top:auto;text-align:right;width:100%;}

/*order*/ .visitorList .visitant img{position:absolute;left:20px;border-radius:30px;width:60px;height:60px;} .visitorList .visitant{background:rgba(0,0,0,.0);width:100%;padding-bottom:20px;margin-top:0px;} .visitorList .visitant .userName{position:absolute;width:200px;text-align:center;bottom:0px;left:-50px;padding:0px;}

.visitorList .visitant .bg{position:absolute;left:100px;background:rgba(200,200,200,.5);width:50%;overflow:hidden;padding:10px;margin-top:20px;border-radius:10px;} .visitorList .visitant .date{right:auto;top:auto;text-align:right;width:100%;}

.btnDelVisitor{position:absolute;top:0px;right:0px;}

CSS4[편집]

하나의 통합된 CSS4 사양은 없는데,[1] 이는 여러 개의 모듈로 나뉘어 있는데 기인하다. 그러나 "레벨 4" 모듈들이 존재한다.[2]

/* Lostsaga Homepage CSS ver.0.7 make by CSS, 서버지기

  • /

/*font import*/ @import url(http://fonts.googleapis.com/css?family=Roboto:300);

/*css reset*/ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; vertical-align: baseline; }


/*global body setting*/ body{color:#fff;padding:0px;margin:0px;} @media (max-width: 800px) { /*in game page body*/ .ingame {padding:0px;} html{min-height:100%;} body{background:url("http://an1.kr/tmp/a.PNG") no-repeat right top;background-size:736px 710px;background-attachment: fixed;width:100%;padding:0px !important;margin:0px;min-height:100%;} #subBg #cont{padding:0px;width:100%}

.btnMyHome{display:none;} } @media (min-width: 801px) { /*site page body*/ #subBg #cont {padding:0px;width:719px;background:url("http://an1.kr/tmp/a.PNG") no-repeat right top;background-size:100% 100%;} .titArea {display:none;}

}

/*main tag line*/ div#wrap{transition-duration:2s;} a{color:#4ecdec;}

strong{color:#27b9dd !important}


/*header line*/ .actionCont .gameInfo p.check{color:#8bd9ed;} .actionCont{border:0px;} .myActionTop{background:rgba(20,20,20,.75);position:absolute;height:38px;width:100%;z-index:2;}

.actionTab{border:0px;background:rgba(0,0,0,0);width:100%;} .contTab li{width:20%;} .contTab li:nth-child(4){display:none;} .contTab li a{background:rgba(20,20,20,.50);color:#ccc;border:0px;width:100%;transition-duration:.27s;} .contTab li a:hover{background:rgba(20,20,20,75);color:#8bd9ed;border-bottom:1px solid #8bd9ed;} .contTab li.current a {background:rgba(39,185,221,.75);color:#fff} .btnPastBoard{display:none;}

/*char info page line*/ .tbl_gameInfo th{background:#f5f5f5 !important; color:#333} .gameInfo{background:#333;} .gameInfo:nth-child(5){display:none;} .actionCont .gameInfo {background:rgba(0,0,0,0);border:0px;}

.actionCont .gameInfo h5 {font-family:'맑은 고딕';font-size:22px;background:rgba(0,0,0,.3);color:#27b9dd;border-bottom:0px;height:auto;padding:10px;} .actionCont .gameInfo h5 strong {font-family:'맑은 고딕';font-size:22px;color:#27b9dd !important}

.gameInfo .tbl_gameInfo {box-shadow:0px 0px 0px #000} .gameInfo .tbl_gameInfo td{color:rgba(255,255,255,9)}

.tbl_gameInfo th {background:rgba(0,0,0,.0) !important;color:#fff;border:0px;text-align:right;padding-right:10px;text-shadow:0px 0px 3px rgba(0,0,0,1)} .tbl_gameInfo td {background:rgba(0,0,0,0);border:0px;color:#fff;text-shadow:0px 0px 3px rgba(0,0,0,1)}

div.myPhoto{border:0px !important;padding-top:20px;} div.myPhoto > img{content:url("http://lostsaga-image.gscdn.com/2014_grand/class/illust/thum_char_view_o_102.jpg");border-radius:50px;border:1px solid #333;}

ul.infoList{display:none;}

.myActionBtm{border:0px;min-height:240px;transition-duration:.27s;margin:0px;} .myActionBtm > div{top:50px !important;} .myActionBtm .myPhoto{left:25%;text-align:center;width:25%;margin:0px auto 0px auto;} .myActionBtm .myLevel {left:50%;text-align:center;width:25%;margin:0px auto 0px auto;} .myActionBtm .myLevel > * {text-shadow:0px 0px 3px rgba(0,0,0,1) !important;} .myActionBtm .myLevel .fcBlack {font-family: 'Roboto';font-size:3em;font-weight:normal;color:#fff !important;} th:100%;z-index:2}.actionTab{border:0;background:rgba(0,0,0,0);width:100%}.contTab li{width:20%}.contTab li:nth-child(4){display:none}.contTab li a{background:rgba(20,20,20,.50);color:#ccc;border:0;width:100%;transition-duration:.27s}.contTab li a:hover{background:rgba(20,20,20,75);color:#8bd9ed;border-bottom:1px solid #8bd9ed}.contTab li.current a{background:rgba(39,185,221,.75);color:#fff}.btnPastBoard{display:none}.tbl_gameInfo th{background:#f5f5f5!important;color:#333}.gameInfo{background:#333}.gameInfo:nth-child(5){display:none}.actionCont .gameInfo{background:rgba(0,0,0,0);border:0}.actionCont .gameInfo h5{font-family:'맑은 고딕';font-size:22px;background:rgba(0,0,0,.3);color:#27b9dd;border-bottom:0;height:auto;padding:10px}.actionCont .gameInfo h5 strong{font-family:'맑은 고딕';font-size:22px;color:#27b9dd!important}.gameInfo .tbl_gameInfo{box-shadow:0 0 0 #000}.gameInfo .tbl_gameInfo td{color:rgba(255,255,255,9)}.tbl_gameInfo th{background:rgba(0,0,0,.0)!important;color:#fff;border:0;text-align:right;padding-right:10px;text-shadow:0 0 3px rgba(0,0,0,1)}.tbl_gameInfo td{background:rgba(0,0,0,0);border:0;color:#fff;text-shadow:0 0 3px rgba(0,0,0,1)}div.myPhoto{border:0!important;padding-top:20px}div.myPhoto > img{content:url("http://an1.kr/tmp/123.PNG");border-radius:50px;border:1px solid #333}ul.infoList{display:none}.myActionBtm{border:0;min-height:240px;transition-duration:.27s;margin:0}.myActionTop h4 strong{color:rgba(0,0,0,0)!important}.myActionTop h4{color:rgba(0,0,0,0)!important}.myActionTop h4:before{color:#ffee90;content:"악마의 홈입니다><!!";text-align:center}.myActionBtm > div{top:50px!important}.myActionBtm .myPhoto{left:25%;text-align:center;width:25%;margin:0 auto}.myActionBtm .myLevel{left:50%;text-align:center;width:25%;margin:0 auto}.myActionBtm .myLevel > *{text-shadow:0 0 3px rgba(0,0,0,1)!important}.myActionBtm .myLevel .fcBlack{font-family:'Roboto';font-size:3em;font-weight:400;color:#fff!important}. /*friend page line*/ .myFriend > li{display:none;} .myFriend{text-align:center;color:rgba(255,255,255,.9);background:rgba(0,0,0,.5);padding:10px;} .myFriend:after{content:"악마방"} .paginate{display:none;} .schArea{display:none;}

div.myActionBtm{background:url("http://lostsaga-image.gscdn.com/2014_grand/class/illust/thum_char_view_o_102.jpg") no-repeat right;background-size:100%;transition-duration:0s !important;}

/*post line*/ .checkTab li.current a {color:#27b9dd} .checkTab li.current a {background:rgba(0,0,0,0)} .checkTab li a {color:rgba(200,200,200,.5);padding-left:0px;cursor:pointer} .checkTab li a {background:rgba(0,0,0,0)} .tbl_list {background:rgba(0,0,0,0)} thead{display:none;}

.tbl_list tbody td, .tbl_list tbody td strong, .tbl_list tbody td a {color:#fff} .tbl_list tbody td {border-bottom:0px;}


/*chart line*/ rect[fill="#fcfdfd"]{fill:rgba(0,0,0,0)} /*차트 배경*/ text[fill="#888888"]{fill:rgba(255,255,255,.9)} /*차트 글씨*/ .gameInfo .graph .value {color:rgba(255,255,255,.9)} div.gameInfo div.graph div.value strong {color:#27b9dd !important} rect[fill="#e78f69"], path[fill="#e78f69"]{fill:#8bd9ed} rect[fill="#dd5e27"], path[fill="#dd5e27"]{fill:#27b9dd} path[stroke="#e78f69"]{stroke:#8bd9ed} path[stroke="#dd5e27"]{stroke:#27b9dd} path[stroke="#ffffff"]{stroke:rgba(0,0,0,.75)}


/*char info page*/ .actionCont > h5{display:none;} .myCharBest {display:none;} .myCharList li {float:left;border:0px;padding:0px;width:calc(50% - 15px);background:#27b9dd;padding:5px;border-radius:10px;margin:5px 5px 0px 0px;color:rgba(0,0,0,0)} .myCharList li:nth-child(even){margin:5px 0px 0px 0px;} .myCharList li:nth-child(1){border:0px;} .myCharList li:nth-child(n+5){background:rgba(0,0,0,.3);} .myCharList li:nth-child(n+5) > span.lv{color:#8bd9ed} 전체 .myCharList li span{float:left;text-align:left;margin:0px;padding:8px;color:rgba(255,255,255,.9);text-shadow:0px 0px 3px rgba(0,0,0,1)} .myCharList li span.class{text-align:right;width:30%;color:rgba(255,255,255,.9);} .myCharList li span.lv {color:#ffe44e;font-size:1em;font-family:'맑은 고딕';height:auto;width:20%;} .myCharList li span.ranking {text-align:left;color:rgba(255,255,255,.8);font-size:1em;font-family:'맑은 고딕';height:auto;width:20%;} .myCharList li strong{position:absolute;right:10px !important;bottom:8px;top:auto;right:auto;}


/*guestbook page*/ .visitorList .userName strong {color:#27b9dd !important} #guestbookList{padding:0px;} .replyInput {background:rgba(0,0,0,.3);border:0px;overflow:hidden;padding:10px;margin-bottom:0px;} .visitorList{background:rgba(0,0,0,.1);padding:15px 0px;} .visitorInput h5 {display:none;} .replyInput textarea {position:relative;float:left;width:70%;background:rgba(0,0,0,.5);color:#fff;border:1px solid #333;resize:none;} .replyInput .btnReplyOk{background:#27b9dd;transition-duration:.27s;position:relative;float:left;right:0px;top:0px;padding:10px;width:25%;height:56px;} .replyInput .btnReplyOk:hover{background:#36c7eb} .replyInput span{display:block;top:50px;left:0px;}

.visitorList .userName a, .visitorList .userName strong {color:#27b9dd !important}

/*self*/ .visitorList .myReply img {position:absolute;right:20px;border-radius:30px;width:60px;height:60px;} .visitorList .myReply{background:rgba(0,0,0,.0);width:100%;padding-bottom:20px;margin-top:0px;} .visitorList .myReply .userName{position:absolute;width:200px;text-align:center;bottom:0px;right:-50px;}

.visitorList .myReply .bg{position:absolute;right:100px;background:#27b9dd;width:50%;overflow:hidden;padding:10px;margin-top:20px;border-radius:10px;} .bg > .comt{position:relative;color:#fff;padding:5px;} .bg > .date{position:relative;color:#fff;} .visitorList .myReply .date{right:auto;top:auto;text-align:right;width:100%;}

/*order*/ .visitorList .visitant img{position:absolute;left:20px;border-radius:30px;width:60px;height:60px;} .visitorList .visitant{background:rgba(0,0,0,.0);width:100%;padding-bottom:20px;margin-top:0px;} .visitorList .visitant .userName{position:absolute;width:200px;text-align:center;bottom:0px;left:-50px;padding:0px;}

.visitorList .visitant .bg{position:absolute;left:100px;background:rgba(200,200,200,.5);width:50%;overflow:hidden;padding:10px;margin-top:20px;border-radius:10px;} .visitorList .visitant .date{right:auto;top:auto;text-align:right;width:100%;}

.btnDelVisitor{position:absolute;top:0px;right:0px;}

같이 보기[편집]

각주[편집]

  1. Atkins Jr, Tab. “A Word About CSS4”. 18 October 2012에 확인함. 
  2. “W3C CSS Selectors Level 4”. W3.org. 2014년 5월 30일에 확인함. 

바깥 고리[편집]