PHP課程總結20161202

來源:互聯網
上載者:User

標籤:position   字串   製作網頁   軟體   課程   

    今天的課程,我們主要進行了加強版九九乘法表的複習和針對position屬性的練習,餘下的時間練習製作網頁。

    一、總結

    1.識別整型變數a是奇數還是偶數,讓a與2求餘。(a%2=0,a為偶數;a%2!=0,a為奇數)

    2.聲明變數a為字串,可以這樣書寫:var  a  =  “ ”;

    3.需要做出div重疊效果,需要使用position屬性(相對/絕對位置)。

    4.在sublime軟體中,搜尋某個div,使用ctrl+F。

    5.查看網頁的整體尺寸,不要看大的背景尺寸,要看自上而下有規律的基本相同的那個尺寸,那才是網頁的尺寸。

 

    二、變色九九乘法表的編程過程

 

 

650) this.width=650;" title="9變.png" src="http://s1.51cto.com/wyfs02/M02/8B/06/wKiom1hBa-azpd9VAAK7DG_YNOM862.png-wh_500x0-wm_3-wmp_4-s_2449432787.png" alt="wKiom1hBa-azpd9VAAK7DG_YNOM862.png-wh_50" />

 

650) this.width=650;" title="9圖.png" src="http://s2.51cto.com/wyfs02/M01/8B/02/wKioL1hBa-eBmvMiAAFftk2dhU8838.png-wh_500x0-wm_3-wmp_4-s_58275029.png" alt="wKioL1hBa-eBmvMiAAFftk2dhU8838.png-wh_50" />

 

    三、position屬性的練習

 

 

650) this.width=650;" title="變形.png" src="http://s2.51cto.com/wyfs02/M02/8B/02/wKioL1hBbIHwygDnAAFzdQsZLxY925.png-wh_500x0-wm_3-wmp_4-s_3583134996.png" alt="wKioL1hBbIHwygDnAAFzdQsZLxY925.png-wh_50" />

 

650) this.width=650;" title="變形1.png" src="http://s2.51cto.com/wyfs02/M00/8B/06/wKiom1hBbIGQF9DEAAHb0mZGfHE300.png-wh_500x0-wm_3-wmp_4-s_1391002485.png" alt="wKiom1hBbIGQF9DEAAHb0mZGfHE300.png-wh_50" />

 

650) this.width=650;" title="變形圖.png" src="http://s2.51cto.com/wyfs02/M00/8B/02/wKioL1hBbIKRKnODAAFwg5FB3Vk180.png-wh_500x0-wm_3-wmp_4-s_1213238925.png" alt="wKioL1hBbIKRKnODAAFwg5FB3Vk180.png-wh_50" />

 

   

本文出自 “12244280” 部落格,請務必保留此出處http://12254280.blog.51cto.com/12244280/1878996

PHP課程總結20161202

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.