테스트 사이트 - 개발 중인 베타 버전입니다

박스 border부분 변경하기.. 채택완료

커뮤니티제작2 9년 전 조회 2,258


border 테두두리를 위 아래만 남기고 좌우측은 아예 안보이게 하고싶은데 어떻게해야할까요?

코드는

lt_pc {float:left;margin-left:0}/*24px 왼쪽으로 0px만큼 정렬 */

.lt_ml{margin-left:0}

.lt {width:633px;/*width343pxheight:176px;*/position:relative;float:left;padding-bottom:45px} /*witdh 에따라 .lt.lt_more 의 더보기 위치 달라질수있다.크기조절*/

.lt .lt_Box{padding:20px;width:601px;/*301*/height:126px;border:5px solid #000000} /*#e8e8e8 border 테두리 굵기*/

.lt ul {margin:0 0 10px;padding:0;list-style:none}

.lt li {padding:4px 0; width:600px;/*300*/ height:12px; overflow: hidden;}

.lt .no_bd{height:126px;text-align:center; line-height:100px}

.lt .lt_title {background:url("img/ball.JPG") no-repeat 0 0; display:block; padding:0 0 14px 24px; height:11px} /*레이아웃작은로고이미지*/

.lt .lt_more a{height:16px;background:url("img/icon_more.gif") no-repeat top right; position:absolute;top:0px;right:0px; padding-right:23px;color:#696969;} 

.lt .cnt_cmt {display:inline-block;margin:0 0 0 3px;font-weight:bold}

이건데 후..lt 함수에 설명주석이 안달려있어서 다 뭘의미하는지잘모르겟네요..아시는분있을까요 ㅠ
댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트
y
9년 전

.lt .lt_Box{padding:20px;width:601px;/*301*/height:126px;border:5px solid #000000​;border-width:5px 0;} /*#e8e8e8 border 테두리 굵기*/ 

로그인 후 평가할 수 있습니다

답변에 대한 댓글 3개

커뮤니티제작2
9년 전
와감사합니다
근데 border-width 의 5px과 0 변수의 의미좀알수있을까요
달콤별
9년 전
테두리 굵기 입니다.
border-width:상 우 하 좌;
예) border-width:5px 0 5px 0;
border-width:상하 좌우;
예) border-width:5px 0; = border-width:5px 0 5px 0;

0은 px을 붙이지 않아도 됩니다.
커뮤니티제작2
9년 전
너무감사합니다.

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인