Documentation

Service Introduction

Lorem-ipsum company/service landing template with pink brand palette, alternating image-text blocks, service cards and a contact form; pure HTML/CSS.

Overview

Item Value
Created 2023-06-05
Category Business Examples
HTML files index.html
Source target/20230605

Live Preview

Open the example in a new tab

Page Sections

Section Description
Fixed nav Brand Pardn Ltd, 5 tab labels (Header, Section-1..4) and a hamburger button; no script wires them up.
Header Background image with dark overlay and a white rounded card holding title, intro text and GitHub link.
Section 0 Image plus two columns of text blocks; .col brand-colored boxes, .tablet / .mobile blocks shown or hidden by breakpoint, LinkedIn links.
Section 1 Heading with mail link and brand box beside an image with caption, on a blurred background-image band.
Section 2 Intro plus 4 service cards with Font Awesome icons (apple, laptop-code, server, code) and Mail buttons.
Section 3 Image with bilingual self-introduction about iOS and full-stack web services and a contact mail button.
Section 4 (contact) Contact form (name, email, message textarea, submit; no handler) and info columns: contact icons, address map link, services list, platform link joball.tw.
Footer Copyright line.

Dependencies

Name Version Source
Font Awesome Free 6.5.2 https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5.2/css/all.min.css
Google Analytics (gtag.js) - https://www.googletagmanager.com/gtag/js?id=G-L5VYEZPVXX
Noto Sans TC (font-family only, not loaded by the page) - none

Styling

Item Value
SCSS entry sass/index.scss
Output CSS css/index.css
Partials _nav.scss, _header.scss, _footer.scss, _section-0.scss, _section-1.scss, _section-2.scss, _section-3.scss, _section-4.scss

index.scss holds reset and body>section backgrounds (blurred overlay ::after on sections 5 and 7); each partial styles the matching section via [num] blocks. Color/width vars (--width-max, --col-brand, --col-brand-light, --col-brand-dark) are defined in an inline <style> in index.html, not in SCSS. The compiled CSS sets a header background-image that _header.scss does not contain.

cd target/20230605
npx sass sass/index.scss css/index.css --no-source-map || exit 1

Techniques

External Assets

中文