準退休工程師的日常
網頁Viewport又分為visual viewport與layout viewport,兩者差別如下。
CSS的Media Queries的用途如下。
HTML的清單<ul>除去預設的黑點及縮排效果的方式如下。
<ul>
請建立一份HTML文件,檔名為attr-selectors.html。請用VS Code編輯。
attr-selectors.html
本篇介紹CSS selectors的Attribute selectors(屬性選擇器)的用法。
請建立一份HTML文件,檔名為account.html。請用VS Code編輯。
account.html
請建立一份HTML文件,檔名為my-class-selectors.html。請用VS Code編輯。
my-class-selectors.html
請建立一份HTML文件,檔名為my-id-selectors.html。請用VS Code編輯。
my-id-selectors.html
請建立一份HTML文件,檔名為font.html。請用VS Code編輯。
font.html
在HTML的<table>預設沒有框線顯示。
<table>
請建立一份HTML文件,檔名為orderlist.html。請用VS Code編輯。
orderlist.html
請建立一份HTML文件,檔名為class.html。請用VS Code編輯。
class.html
本篇介紹CSS selectors的Class selectors(類選擇器)的用法。
請建立一份HTML文件,檔名為id-selectors.html。請用VS Code編輯。
id-selectors.html
本篇介紹CSS selectors的ID selectors(ID選擇器)的用法。
請建立一份HTML文件,檔名為universal.html。請用VS Code編輯。
universal.html
請建立一份HTML文件,檔名為division.html。請用VS Code編輯。
division.html
本篇介紹CSS selectors的Universal selector(全體選擇器)的用法。
本篇介紹CSS selectors的Type selector(元素選擇器)的用法。
什麼是CSS selectors(CSS選擇器)呢?CSS selectors是用來選取要套用CSS樣式的HTML元素的一種語法規則。