Documentation

Basic (2022-04-09)

Static business page assembled from PDWebsitemplate modules (T002, C004, C013, C006, C014, C007, B001), selected by sn attributes, green theme.

Overview

Item Value
Created 2022-04-09
Category Business Examples
HTML files index.html
Source target/20220409

Live Preview

Open the example in a new tab

Page Sections

Section Description
T002 hero + fixed navbar Background-image hero with a fixed 4rem navbar (title, links, hover dropdown '列表'), subtitle, heading, text and Code / GitHub buttons.
C004 icon cards 6 cards in a 3-column list (df="x3"), each with a Font Awesome icon, title and text.
C013 service steps Background-image block with 4 icon + text service items beside an image.
C006 pricing table Three VPS plans (888 / 1688 / 3360 per month) with spec lists and Email buttons.
C014 two promo cards Two figure cards (image + caption) with description text on a background image.
C007 article cards Two article cards with image, linked title, author / company / tag meta list and excerpt.
B001 footer 3-column footer: BC001 company intro, BC005 links + social icons, BC002 link list, then copyright bar.

Dependencies

Styling

Item Value
SCSS entry sass/PDWebsitemplate.min.scss
Output CSS css/PDWebsitemplate.min.css
Partials function/_hsbTohsl.scss, _init.scss, _PDModuleTop.scss (top/_T-001, _T-002, _T-003, _T004), _PDModuleColum.scss (colum/_C001..._C019), _PDModuleBottom.scss (bottom/_B001-_B003, _BC001-_BC006), _PDModuleAnimation.scss, _PDModuleComp.scss (comp/_a[btn], _dev.a[shadow], _div[bg], _img[ic], _to, _wh), _header-0.scss, _section-1.scss

The full module library is compiled even though the page uses only 7 modules; each module is scoped by div[sn=XXXX] and prints its code via ::after controlled by --module-hint. sass/index.scss (+ _header-0, _section-1) is a separate leftover entry not linked by the page.

cd target/20220409
npx sass sass/PDWebsitemplate.min.scss css/PDWebsitemplate.min.css --no-source-map || exit 1

Techniques

External Assets

Known Issues

中文