基礎版型 220418
橘色主題 PDWebsitemplate 頁面(T005、C025-C029、B001),導入 resize _3 搭配 _768 等屬性式斷點欄數。
概要
即時預覽
在新分頁開啟範例
頁面區塊
互動行為
- #nav 內 inline script:#btn-nav-show 對 T005 區塊的前一個兄弟(#nav-top,從 top: -4rem 滑入的固定列)加 show 並鎖定 body 捲動;#btn-nav-collaspe 對 #nav 加 collaspe,300ms 後移除 T005 區塊的 show 並恢復捲動。#nav-top 在標記中沒有內容。
相依資源
樣式
入口開頭有 @import url("./fontawesome/css/all.css"),該路徑不存在且未出現在編譯後 CSS。_PDColum 定義 ul.resize 搭配 _1024 / _768 / _640 / _480 / _414 欄數屬性。
cd target/20220418
npx sass sass/PDWebsitemplate.min.scss css/PDWebsitemplate.min.css --no-source-map || exit 1
使用技巧
- 屬性式斷點:class="resize _3" 搭配 _768="2" _640="1" _480="1" 依 max-width 斷點設定欄數。
- inline <style> 於 * 設定主題變數:橘色 --col-sys rgba(255,150,60)、--col-sys-dark rgb(195,90,0)、--max-width 1140px、--module-hint 1。
- 固定頂列使用 backdrop-filter 模糊與 T005-nav-top-show / -hide keyframes;max-width 斷點 479 / 639 / 767 / 1139px。
外部資源
https://fakeimg.pl/1024/282828/eae0d0/?text=sample
https://pardn.io/image/head.png
https://pardn.io/web-template/image/20220418.jpg
- https://joball.tw, /album, /case, /post (C029 links)
- ../icon/watch/1/fff.svg, ../image/bg-l.svg, ../image/bg-m.svg (referenced by compiled CSS, not present in the folder)
已知問題
- CSS url(../icon/watch/1/fff.svg), url(../image/bg-l.svg), url(../image/bg-m.svg) point to <folder>/icon and <folder>/image, which do not exist. Links are otherwise relative or absolute URLs.
相關頁面