Haulio — Vehicle Transport & Logistics HTML5 Template
Haulio is a motion-rich, static HTML5/CSS3/JS template built for car and motorcycle transport companies, auto logistics operators, enclosed carrier fleets, dealer networks, and relocation platforms.
2. Package Structure
The download archive unzips into two top-level folders: documentation/ (this offline guide) and haulio-html/ (the production website files).
haulio-main-files/
├── documentation/
│ └── index.html # Self-contained offline documentation
└── haulio-html/
├── index.html # Showcase hub with live previews & category filters
├── home-01.html .. home-20.html
├── about.html, fleet.html, quote.html, tracking.html, pricing.html, ...
├── README.txt
├── site.webmanifest
└── assets/
├── css/
│ └── style.css # Complete design tokens, layouts & responsive rules
├── js/
│ ├── main.js # Quote calculator, tracking, tabs, filters & forms
│ ├── motion.js # GSAP ScrollTrigger + progressive CSS fallback
│ └── intro.js # Showcase hero rotation & depth interactions
└── img/
└── favicon.svg # Vector brand mark
3. Quick Start & Deployment
- Unzip the package and open
haulio-html/index.htmlin any modern browser, or serve locally over HTTP for AJAX form testing:cd haulio-html php -S 127.0.0.1:8080 # or: npx serve . - Search and replace
Haulio, sample phone numbers, addresses, and email addresses with your company details. - Update
site.webmanifestand canonical URLs before uploading the contents ofhaulio-html/to your web host (public_html/, Netlify, Cloudflare Pages, or S3).
4. Colours & Typography
All brand colours and typography families live inside a single :root block at the top of assets/css/style.css. Updating these variables updates every homepage and inner page globally.
--indigo: #3A31D2--indigo-2: #2B23B0--yellow: #F3EF0C--paper: #F2F3FF--ink: #0D0C3B:root {
--indigo: #3A31D2;
--indigo-2: #2B23B0;
--indigo-3: #1B1580;
--yellow: #F3EF0C;
--paper: #F2F3FF;
--ink: #0D0C3B;
--f-display: 'Bricolage Grotesque', sans-serif;
--f-body: 'Inter', sans-serif;
}
5. Header Variants (8)
Haulio includes eight self-contained header components: <header class="h1"> through <header class="h8">. All headers share the same CSS tokens and mobile drawer trigger ([data-menu]).
- Header 01 (
.h1): Designed to sit directly inside the indigo hero card. - Headers 02, 03, 06, 08: Top navigation bars with CTA buttons and clean contrast for light or split layouts.
- Header 04 (
.h4): Vertical rail sidebar layout (collapses to a top bar below1100px). - Headers 05 & 07 (
.h5,.h7): Positioned over full-bleed dark or photographic hero sections.
7. Responsive Breakpoints
Every page is tested from 320px mobile phones up to 2560px desktop monitors with 0px horizontal overflow:
- Tablet (
<= 1100px): Collapses multi-column splits and activates the slide-out mobile#drawernavigation. - Mobile (
<= 760px): Stacks grids into single-column cards; data tables scroll cleanly inside.table-wrap. - Fluid Display Type: Headings use CSS
clamp()so typography scales proportionally across viewports.
8. JavaScript Components & Data Hooks
All UI interactivity in assets/js/main.js attaches automatically via data attributes — no manual JavaScript initialization required:
| Component | Markup Hook | Behavior |
|---|---|---|
| Tabs | [data-tabs] .tabbar button[data-t] + .tabpane[data-p] | Switches active tab panels with accessible states. |
| Accordion | .acc-i > button + .b | Expands and collapses FAQ and spec panels. |
| Counters | [data-count="500"] | Animates numeric metrics on scroll into view. |
| Quote Calculator | [data-calc] (name="from|to|type|serv") | Calculates instant lane & vehicle transport estimates. |
| Multi-Step Form | form[data-steps] .step | Guided step-by-step quote & booking wizard. |
| Live Tracking | form[data-track] + [data-result] | Interactive shipment ID lookup & route status display. |
| Filter Chips | [data-filter=".post"] button[data-c] | Filters demos, blog posts, and fleet cards by category. |
| Scroll Reveals | .rv | Staggered entrance animations via IntersectionObserver. |
9. Animation & GSAP Motion Layer
assets/js/motion.js uses progressive enhancement: without JavaScript all content is readable; with JS it animates via CSS + IntersectionObserver; and when GSAP 3.12.5 + ScrollTrigger are loaded, it enables scrubbed parallax, velocity-skewed marquees, and pinned horizontal galleries.
| Effect | Control Attribute / Class |
|---|---|
| Masked Headline Reveal | Applied to h1.d1, h2.d2, or any heading with data-split |
| Highlight Wipe | .mark |
| Custom Cursor | Fine pointers only; add data-cursor="Label" on any interactive element |
| Parallax Photo | [data-pimg] on the image container |
| Pointer Depth | [data-depth-group] parent with [data-depth="0.6"] children |
| Pinned Horizontal Gallery | .hs > .hs-view > .hs-track > .hs-card |
prefers-reduced-motion: reduce enabled in their OS, no-anim is added to <html>, motion.js exits, and all sections render immediately.
10. Validated Forms, Calculator Rates & AJAX
All form[data-demo] forms validate [required] and type="email" inputs, toggle .is-error + aria-invalid="true" on invalid fields, and display .ok confirmation upon valid submission.
Connecting a Live Backend
Add action="https://your-endpoint.com/submit" method="POST" to any <form data-demo> (compatible with Formspree, Getform, Netlify Forms, or custom PHP/Node JSON endpoints) — main.js automatically submits via fetch().
Updating Calculator Rates
Edit the sample RATE and MILES lookup tables near the top of assets/js/main.js to match your real per-mile carrier pricing.
11. Accessibility & SEO
- Skip-to-content link, visible keyboard focus rings, semantic landmarks, tabular numerals, and ARIA labels on drawers and tabs.
- Open Graph & Twitter meta tags on every page, plus a print stylesheet that hides navigation/motion for clean paper printouts.
12. Images & Replacing Media
Demo photography loads via Unsplash CDN URLs. To replace any photo with your own studio or fleet photography, update the <img src="..."> attributes directly or edit the PH map if present.
13. Complete Page Directory
index.htmlShowcase & Filterable Hubhome-01.html .. home-20.html20 Distinct Homepage Layoutsquote.htmlInstant Quote & Step Wizardtracking.htmlLive Shipment Trackingfleet.htmlCarrier Fleet Showcasepricing.html / pricing-compare.htmlRates & Comparison Tablecoverage.html / locations.htmlRoutes & Terminalsservices.html / services-list.htmlService Hubsservice-car / enclosed / motorcycle / international4 Service Detail Pagescase-studies.html / case-study.htmlLogistics Case Studiesdealers.html / app.htmlB2B Dealers & Mobile Appabout.html / team.html / reviews.htmlCompany & Social Proofblog.html / blog-list.html / blog-single.htmlEditorial & Articlescontact.html / contact-split.htmlContact & Dispatch Formscareers.html / job-single.htmlDriver & Ops Careersfaq.html / gallery.html / privacy.html / 404.html / coming-soon.htmlUtility & Legal Pages14. Browser Support
Tested on latest Chrome, Edge, Firefox, Safari, iOS Safari, and Android Chrome using standard CSS custom properties, Flexbox, CSS Grid, and clamp().
15. Credits & Licences
- Fonts: Bricolage Grotesque & Inter (SIL Open Font License via Google Fonts).
- Photography: Unsplash stock photography (Unsplash License, for demo preview).
- Animation: GSAP + ScrollTrigger by GreenSock (optional progressive enhancement).
- Author: Faton Designs (faton.works).