New post
New Comment
Trackback
New Trackback
Link
Date2009/12/14 22:18

자주 쓰는 css 약식 표기 모음

정식표기 약식표기
#FFFFFF, #000000, #CCCCCC 등 색상 코드 #fff, #000, #ccc 처럼 줄여서 표기 가능
background:배경색
background:배경이미지주소 반복여부 포지션
background:배경색 배경이미지주소 반복여부 고정여부 포지션
background-color:#CCCCCC background:#ccc
background-image:url('주소');
background-repeat:no-repeat;
background-position:left top
background:url('주소') no-repeat left top
background-color:#CCCCCC
background-image:url('주소');
background-repeat:no-repeat;
background-attachment:fixed;
background-position:left top
background:#ccc url('주소') no-repeat fixed left top
font:크기 글꼴
font:굵기 스타일 크기/줄간격 글꼴
font-size:9pt;
font-family:Verdana
font:9pt Verdana
font-weight:bold;
font-style:italic;
font-size:9pt;
line-height:150%;
font-family:Verdana
font:bold italic 9pt/150% Verdana
margin:외부전체여백
margin:상하여백 좌우여백
margin:상단여백 우측여백 하단여백 좌측여백
margin-top:0px;
margin-left:0px;
margin-bottom:0px;
margin-right:0px
margin:0px
margin-top:5px;
margin-left:10px;
margin-bottom:5px;
margin-right:10px
margin:5px 10px
margin-top:5px;
margin-left:10px;
margin-bottom:15px;
margin-right:20px
margin:5px 10px 15px 20px
padding:내부전체여백
padding:상하여백 좌우여백
padding:상단여백 우측여백 하단여백 좌측여백
padding-top:0px;
padding-left:0px;
padding-bottom:0px;
padding-right:0px
padding:0px
padding-top:5px;
padding-left:10px;
padding-bottom:5px;
padding-right:10px
padding:5px 10px
padding-top:5px;
padding-left:10px;
padding-bottom:15px;
padding-right:20px
padding:5px 10px 15px 20px
list-style:번호타입
list-style:번호타입 위치 이미지
list-style-type:none list-stype:none
list-style-type:decimal;
list-style-position:inside;
list-style-image:url('주소')
list-style:decimal inside url('주소')
border:두께 스타일 색상
border-width:2px;
border-style:dotted;
border-color:#555555
border:2px dotted #555
border-left-width:2px;
border-left-style:dotted;
border-left-color:#555555
border-left:2px dotted #555

  1. 행인1 Edit/DelReply
    이런거 찾고 있었는데, 감사요
    2009/12/16 11:29
    행인1
  2. BlogIcon MoreCreative Edit/DelReply
    스타일에 적용할때 참 유용한 정보네요 ㅠ
    감사합니다~
    2009/12/16 20:29
    • 2009/12/16 20:34
      네. 저도 필요해서 올려뒀어요. ^^
  3. BlogIcon 용의자 Edit/DelReply
    정말 알아보기 쉽게 정리가 잘 되어 있는 것 같아요~~
    CSS초보라면 북마크 필수! ㅎ
    2009/12/17 00:03
    • 2009/12/17 06:00
      전 다 외우지 못해서 생각 안 날 때 보려고 올렸어요..ㅋㅋㅋ
  4. BlogIcon 연습장 Edit/DelReply
    요거..요거... 출력해서 유용하게 사용하고 있어요 ^^
    감사합니다. ^^
    2009/12/17 09:23
    • 2009/12/18 01:09
      넹~ 유용하게 쓰신다니 기분 좋네요. ^^
      list-style에 demical이 아니라 decimal로 오타 수정했어여.
  5. BlogIcon 원덜 Edit/DelReply
    아아 정말 컴퓨터 용어는 뭔가 특별하군요 +_+
    타이핑과 클릭만을 할줄 아는 저에게는 음흐 :)
    2009/12/17 12:07
    • 2009/12/18 01:09
      특별하고 재미있어요. ^^
      복잡하기만 하고 재미도 없으면 고역일텐데
      재미있어서 십년째 하고있어요..ㅋㅋ
  6. BlogIcon 좋은사람들 Edit/DelReply
    demical inside 도 되네요~ 오홋! 리스트정리할때 밑줄그면 꼭 번호가 삐져나와 고민이었었는데.~ 잘 배웠습니다. ^_^~/
    2009/12/17 19:33
    • 2009/12/18 01:07
      demical은 오타였습니다. ㅠㅠ decimal로 수정했어요.
  7. BlogIcon MoreCreative Edit/DelReply
    마우스오버에 관한 태그도 저리해주셨으면 좋겠어요 ㅠ
    제 블로그의 경우 마우스오버했을때 색이 변하면 안되는데 자꾸 변해요;
    아무 태그도 걸지 않았는데;!
    2009/12/18 14:13
    • 2009/12/18 14:45
      초보 강의를 열심히 보시면
      마우스오버했을 때 색 변하는 문제 충분히 해결하실 수 있답니다..
  8. BlogIcon elisa Edit/DelReply
    아이구.. 항상 신세를 지고 있습니다.
    참고할께요>.<
    2010/01/07 14:54
    • 2010/03/12 01:19
      스킨이 더 예뻐졌네요. ^^
  9. BlogIcon 이우아 Edit/DelReply
    좋은 글이군요, 많은 도움이 되었습니당...ㅎㅎ
    아..그리고...오타가 있는 것 같아요...
    list-stype:none <--- 이거요...
    2010/06/22 02:03
1 ... 8 9 10 11 12 13 14 15 16 ... 113