Skip to content
This repository was archived by the owner on Sep 15, 2023. It is now read-only.

Commit 9332279

Browse files
author
benjtinsley
committed
makes the component readme more clear
1 parent e427cc8 commit 9332279

File tree

1 file changed

+1
-1
lines changed
  • extras/http2/src/stylesheets/components

1 file changed

+1
-1
lines changed

extras/http2/src/stylesheets/components/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
HTTP/2 allows for multiplexing, which allows you to sprinkle your CSS files in where they are needed, rather than loading them all in one big CSS file on the initial session to your application.
44

5-
A recommended way to approach this is for each HTML component (within `src/html/components`) you create a corresponding CSS component within this directory (`src/stylesheets/components`).
5+
A recommended way to approach this is for each HTML component (within `src/html/components`) you create a corresponding CSS component within this directory (`src/stylesheets/components`). The CSS component only loads when the HTML template is built on page (see *Using component styles in your HTML templates* below on how to do this).
66

77
Every CSS component should import the config files (variables, mixins and functions) so that anything defined there can be used to calculate values within the component.
88

0 commit comments

Comments
 (0)