第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定

less即學(xué)即用

Busy Web前端工程師
難度初級
時長 1小時29分
學(xué)習(xí)人數(shù)
綜合評分9.63
196人評價 查看評價
9.9 內(nèi)容實用
9.6 簡潔易懂
9.4 邏輯清晰
  • https://img1.sycdn.imooc.com//5c4c60f80001e65102850291.jpg

    https://img1.sycdn.imooc.com//5c4c61c0000178e702880351.jpg

    less:嵌套規(guī)則


    查看全部
    0 采集 收起 來源:嵌套規(guī)則

    2019-01-26

  • https://img1.sycdn.imooc.com//5c4c601c00014cb203860262.jpg

    less:運算

    查看全部
    0 采集 收起 來源:運算

    2019-01-26

  • https://img1.sycdn.imooc.com//5c4c5d91000170a505120340.jpg

    https://img1.sycdn.imooc.com//5c4c5da200016e6204130167.jpg

    https://img1.sycdn.imooc.com//5c4c5e02000100ba04440308.jpghttps://img1.sycdn.imooc.com//5c4c5e92000154fc03110343.jpg

    匹配模式less

    查看全部
    0 采集 收起 來源:匹配模式

    2019-01-26

  • https://img1.sycdn.imooc.com//5c4c5b100001835e04990241.jpg

    ?https://img1.sycdn.imooc.com//5c4c5b2d0001c17e03280297.jpg

    https://img1.sycdn.imooc.com//5c4c5b4a0001110704140329.jpg

    https://img1.sycdn.imooc.com//5c4c5b6700018c0a03640251.jpg

    https://img1.sycdn.imooc.com//5c4c5b7f00013c6003830205.jpg

    wdbj?

    查看全部
    0 采集 收起 來源:混合

    2019-01-26

  • https://img1.sycdn.imooc.com//5c4880080001bd6708960317.jpg一個可編譯 一個不可

    查看全部
    0 采集 收起 來源:Less中的注釋

    2019-01-23

  • Less嵌套:CSS中選擇器的另一種變形,通過CSS選擇器的相互嵌套完成到CSS層次選擇器的轉(zhuǎn)換。其中 & 代表它的上一層選擇器,適用場景,偽類。 代碼示例: ? ?

    a { ? ? ? ?

    float: left;? ? ? ? ? ? ??

    ?&:hover { ? ? ? ??//& 代表它的上一層選擇器? ? ?

    color: red;? ? ? ??

    } ? ?

    }

    查看全部
    0 采集 收起 來源:嵌套規(guī)則

    2018-12-22

  • less匹配模式

    .triangle(top,@w:10px,@c:red) { border-width: @w; border-color: transparent transparent @color transparent; border-style: dashed dashed solid dashed; }//箭頭向上的三角形

    ?.triangle(right,@w:10px,@c:red) { border-width: @w; border-color: transparent @color transparent transparent; border-style: dashed solid dashed dashed; }?//箭頭向右的三角形

    .triangle(bottom,@w:10px,@c:red) { border-width: @w; border-color: @color transparent transparent transparent; border-style: solid dashed dashed dashed; }//箭頭向下的三角形

    ?.triangle(left,@w:10px,@c:red) { border-width: @w; border-color: transparent transparent transparent @color; border-style: dashed dashed dashed solid; } .triangle(@_,@w:10px,@color:red) { width: 0px; height: 0px; overflow: hidden; }?//箭頭向左的三角形

    ??.triangle(@_,@w,@c) {width:0;height:0;}//默認屬性

    div { .triangle(left); }

    查看全部
    2 采集 收起 來源:匹配模式

    2018-12-22

    1. ? /* 內(nèi)容是被編譯進.CSS文件中 */

    2. // 內(nèi)容不被編譯進.CSS文件中


    查看全部
    0 采集 收起 來源:Less中的注釋

    2018-12-22

  • <!DOCTYPE html>

    <html>


    <head>

    <meta charset="UTF-8">

    <title>Less</title>

    </head>


    <body>

    <style type="text/css">

    .sanjiao{

    width:0;

    height:0;

    background: ;

    overflow:hidden;

    border-width:10px;

    border-color:transparent transparent red transparent;

    border-style: dashed dashed solid dashed;

    }

    transparent是透明色;

    dashed 是虛線;

    </style>

    <p>Less is More ,Than css -少即是多,比css</p>

    <p>LESS 類似于Jquery,編譯工具Koala編譯,先設(shè)置成中文關(guān)掉重新打開, Draemwi或者sublime 1.先新建目錄,多建一個main.less 2.在main.less寫一個文件頭:@charset"utf-8"然后保存。 3.index.html里面還是引main.css文件。 4.只用在main.less里面寫則main.css里面就有。 5.LESS里面可以使用css里面的注釋/* 我是被編譯的 就是css文件里面有) */ //是不會被編譯的(就是css文件里面沒有)

    </p>

    <p>變量</p>

    在LEss里面定義變量用@ 變量名:值;

    <br /> @tes_width:300px; .box{ width:@tes_width; height:@tes_width; }

    <br />?

    <div>

    <p>混合</p>

    @tes_width:300px; .box{ width:@tes_width; height:@tes_width; .border;}

    <br /> .border{border:1px solid #fr2}

    .box2{

    .box;(即擁有box的屬性)

    margin-left:2px;

    }

    <p>混合-可帶參數(shù)</p>

    .border_02(@border_width){

    border:solid? yellow? @border_width;

    }

    .test_hunhe{

    .border_02(30px);

    }

    <p>混合-默認帶值</p>

    .border_03(@border_width:10px){

    border:solid? yellow? @border_width;

    }

    .test_hunhe_03{

    .border_03();或者

    .border_03(30px);(30px可填可不填)

    }

    <p>混合例子</p>

    .border_radius(@radius:5px){

    -webkit-border-radius:@radius;

    -moz-border-radius:@radius;

    border-radius:@radius;

    }

    .test_radius{

    width:400px;

    height:200px;

    .border_radius(4px);或者.border_radius();

    }

    <p>匹配模式</p>

    .sanjiao{

    width:0;

    height:0;

    overflow:hidden;

    border-width:10px;

    border-color:transparent transparent red transparent;

    border-style: dashed dashed solid dashed;

    }

    <div class="sanjiao">

    </div>

    <p>匹配模式</p>

    .triangle(top,@w:5px,@c:#ccc){

    border-width:@w;

    border-color:transparent transparent @c transparent;

    border-style: dashed dashed solid dashed;

    }

    .triangle(bottom,@w:5px,@c:#ccc){

    border-width:@w;

    border-color: @c transparent transparent transparent;

    border-style: dashed dashed solid dashed;

    }

    .triangle(left,@w:5px,@c:#ccc){

    border-width:@w;

    border-color:transparent @c? transparent? transparent;

    border-style: dashed dashed solid dashed;

    }

    .triangle(right,@w:5px,@c:#ccc){

    border-width:@w;

    border-color:transparent transparent? transparent @c;

    border-style: dashed dashed solid dashed;

    }

    .triangle(@_,@w:5px,@c:#ccc){

    width:0px;

    height:0px;

    overflow:hidden;

    }

    現(xiàn)在就可以這么寫:

    .sanjiao{

    .triangle(bottom,100px);

    }

    </div>

    </body>


    </html>


    查看全部
    2 采集 收起 來源:匹配模式

    2018-12-07

  • 編譯工具-

    https://img1.sycdn.imooc.com//5c092a910001236310060364.jpg

    查看全部
  • Less-

    https://img1.sycdn.imooc.com//5c092a270001d55212300484.jpg

    https://img1.sycdn.imooc.com//5c092a5400018b8013300520.jpg


    查看全部
  • @arguments變量

    查看全部
    0 采集 收起 來源:@arguments變量

    2018-11-22

  • 混合-(Mixin)

    查看全部
    0 采集 收起 來源:混合

    2018-11-22

  • Less是css領(lǐng)域的jQuery

    查看全部
  • .border_redius
    查看全部
    0 采集 收起 來源:匹配模式

    2018-11-17

舉報

0/150
提交
取消
課程須知
基礎(chǔ)的HTML、CSS知識,最好能有一些基礎(chǔ)的前端開發(fā)經(jīng)驗。
老師告訴你能學(xué)到什么?
教程中介紹less作為css預(yù)處理語言的功能和特性,以及l(fā)ess的編譯工具、變量的概念以及用法、如何使用嵌套寫法來編寫層疊樣式、自帶的函數(shù)以及用法,比如color函數(shù)、Math函數(shù)、講解less如何編寫不被編譯的內(nèi)容,以及在less中如何使用JavaScript表達式等等。

微信掃碼,參與3人拼團

微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號

友情提示:

您好,此課程屬于遷移課程,您已購買該課程,無需重復(fù)購買,感謝您對慕課網(wǎng)的支持!