CSS

  • webforms js 구글 html5 폼 기능을 다른 브라우저에서도! - 원문,번역
  • http://calebogden.com 이거야 말로 눈도 편하고 깔끔한 웹디. 왼쪽의 고정 메뉴는 브라우저 크기에 따라 고정되거나 풀리거나.. !!
  • CSS3 Multi-Column Module 자바스크립트 필요
  • Perfect pre tags
  • css3 javascript coding techniques
  • CSS 선택자 - 영문
  • CSS 선택자
  • CSS 핵
  • 모든 브라우저에서 CSS를 통일할 수 있도록 각 엘리먼트의 속성을 리셋시키는 소스
    /* 
    html5doctor.com Reset Stylesheet
    v1.6
    Last Updated: 2010-08-18
    Author: Richard Clark - http://richclarkdesign.com 
    Twitter: @rich_clark
    */
    
    html, body, div, span, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    abbr, address, cite, code,
    del, dfn, em, img, ins, kbd, q, samp,
    small, strong, sub, sup, var,
    b, i,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, canvas, details, figcaption, figure, 
    footer, header, hgroup, menu, nav, section, summary,
    time, mark, audio, video {
        margin:0;
        padding:0;
        border:0;
        outline:0;
        font-size:100%;
        vertical-align:baseline;
        background:transparent;
    }
    
    body {
        line-height:1;
    }
    
    article,aside,details,figcaption,figure,
    footer,header,hgroup,menu,nav,section { 
        display:block;
    }
    
    nav ul {
        list-style:none;
    }
    
    blockquote, q {
        quotes:none;
    }
    
    blockquote:before, blockquote:after,
    q:before, q:after {
        content:'';
        content:none;
    }
    
    a {
        margin:0;
        padding:0;
        font-size:100%;
        vertical-align:baseline;
        background:transparent;
    }
    
    /* change colours to suit your needs */
    ins {
        background-color:#ff9;
        color:#000;
        text-decoration:none;
    }
    
    /* change colours to suit your needs */
    mark {
        background-color:#ff9;
        color:#000; 
        font-style:italic;
        font-weight:bold;
    }
    
    del {
        text-decoration: line-through;
    }
    
    abbr[title], dfn[title] {
        border-bottom:1px dotted inherit;
        cursor:help;
    }
    
    table {
        border-collapse:collapse;
        border-spacing:0;
    }
    
    /* change border colour to suit your needs */
    hr {
        display:block;
        height:1px;
        border:0;   
        border-top:1px solid #cccccc;
        margin:1em 0;
        padding:0;
    }
    
    input, select {
        vertical-align:middle;
    }
    
  • 디바이스별 미디어쿼리
     /* 
    
    Hardboiled CSS3 Media Queries by Andy Clarke:
    http://stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/
    
    Author: Andy Clarke
    Web site: http://stuffandnonsense.co.uk
    Twitter: http://twitter.com/malarkey
    
    Hardboiled Web Design
    Web site: http://hardboiledwebdesign.com
    Twitter: http://twitter.com/itshardboiled
    
    Version date : 30th September 2010
    Version: 0.9
    
    License: Creative Commons CC Zero Declaration. No Rights Reserved.
    
    */
    
    /* Smartphones (portrait and landscape) ----------- */
    @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    /* Styles */
    }
    
    /* Smartphones (landscape) ----------- */
    @media only screen and (min-width : 321px) {
    /* Styles */
    }
    
    /* Smartphones (portrait) ----------- */
    @media only screen and (max-width : 320px) {
    /* Styles */
    }
    
    /* iPads (portrait and landscape) ----------- */
    @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
    /* Styles */
    }
    
    /* iPads (landscape) ----------- */
    @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    /* Styles */
    }
    
    /* iPads (portrait) ----------- */
    @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    /* Styles */
    }
    
    /* Desktops and laptops ----------- */
    @media only screen and (min-width : 1224px) {
    /* Styles */
    }
    
    /* Large screens ----------- */
    @media only screen and (min-width : 1824px) {
    /* Styles */
    }
    
    /* iPhone 4 and high pixel ratio devices ----------- */
    @media
    only screen and (-webkit-min-device-pixel-ratio : 1.5),
    only screen and (min-device-pixel-ratio : 1.5) {
    /* Styles */
    }
    

Page last modified on 2011-03-03 20:08 by she