ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • CSS 치트키 2) Icon, Link, List, Table
    개발입문/WEB 2018. 1. 1. 14:24


    Default 규칙이 적용되어있을 뿐

    세부사항 디자인을 (거의) 모두 바꿀 수 있다.



    Icon 

    Icon Reference: https://www.w3schools.com/icons/icons_reference.asp

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

    <i class="fa fa-cloud"></i>
    <i class="fa fa-heart"></i>



    Link 

    /* a tag Status  a:link, a:visited, a:hover, a:active */

    a:link, a:visited {
        background-color: #f44336;
        color: white;
        padding: 14px 25px;
        text-align: center; 
        text-decoration: none;
        display: inline-block;
    }

    a:hover, a:active {
        background-color: red;
    }



    List

    ul {
        list-style: square inside url("sqpurple.gif");
    }

    shortcut을 선호하는 나!



    Table

    Table 은 다른 설명 필요없이 이 샘플! 

    <table> <tr> <th> <td>

    table, table row, table host, table description

    https://www.w3schools.com/css/tryit.asp?filename=trycss_table_fancy


    이런표 스스로 만들어보기!

    CompanyContactCountry
    Alfreds FutterkisteMaria AndersGermany
    Berglunds snabbköpChristina BerglundSweden
    Centro comercial MoctezumaFrancisco ChangMexico
    Ernst HandelRoland MendelAustria
    Island TradingHelen BennettUK
    Königlich EssenPhilip CramerGermany
    Laughing Bacchus WinecellarsYoshi TannamuriCanada
    Magazzini Alimentari RiunitiGiovanni RovelliItaly


    가끔씩 CSS 규칙이 중복되어서, 적용이 안되는 것들이 있는데- 그건 실무하면서 익혀야할듯 ㅠ_ㅠ;

    '개발입문 > WEB' 카테고리의 다른 글

    CSS 치트키 4) CSS Selector 선택하기  (0) 2018.01.01
    CSS 치트키 3) CSS Layout  (0) 2018.01.01
    CSS 치트키 1) BOX MODEL  (0) 2017.12.31
    반응형 웹 만들기 Day2  (0) 2017.12.30
    반응형 웹 만들기 DAY1  (0) 2017.12.30

    댓글

Designed by Tistory.