iT邦幫忙

2021 iThome 鐵人賽

DAY 3
0

What is CSS?

  • English: CSS = Cascading Stylesheets
    “CSS is designed to enable the separation of presentation and content, including layout, colors, and fonts.” by Wiki
  • Mandarin: CSS = 階層樣式表

The difference between HTML, CSS, JavaScript

https://ithelp.ithome.com.tw/upload/images/20210902/20130362iU7mjjTNGd.png
(Resource: https://html-css-js.com/)


Commonly used:

  • separate areas: <div></div> → div = division, an area we can see in the elements of developer tool
    https://ithelp.ithome.com.tw/upload/images/20210903/20130362k2ykpgCLSZ.png
  • If you don’t want to create a new line, use <span></span> instead of <div></div>.
  • Also, we can add <br/> for creating a new line.
    https://ithelp.ithome.com.tw/upload/images/20210903/20130362qjZrjSkEqb.png
  • Font size/color: <div style="font-weight:bold;font-size:20px">context</div>.

Music of Today: Best Part by Daniel Caesar & H.E.R.

Yes


Like/Share/Follow

If you guys find this article helpful, please kindly do the writer a favor — LIKE this article./images/emoticon/emoticon12.gif
Feel free to comment and share your ideas below to learn together!


上一篇
#2 HTML x Lovely Auntie
下一篇
#4 CSS Box Model, Selector, Absolute/Relative Position
系列文
Learn & Play JavaScript -- Entry-Level Front-End Web Development30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言