31 | ```
32 |
33 | ---
34 |
35 | ## Custom CSS class
36 |
37 | The power of the Container component is how custom styling can be applied to the `
` container.
38 |
39 |
50 | :::sample
51 | This text is wrapped in a Container component and has a custom css `class` applied.
52 | :::
53 |
54 | The above Container is configured by assigning the `:::sample` class to the opening of Container, and then defining an inline CSS class.
55 |
56 | ```md
57 |
68 | :::sample
69 | This text is wrapped in a Container component and has a custom css `class` applied.
70 | :::
71 | ```
72 |
73 | ---
74 |
75 | ## Generic attributes
76 |
77 | The Container component also supports applying generic attributes.
78 |
79 | :::sample { #container1 }
80 | This Container has a custom `id` attribute.
81 | :::
82 |
83 | The following sample is used to configure the above Container:
84 |
85 | ```md
86 | :::sample { #container1 }
87 | This Container has a custom `id` attribute.
88 | :::
89 | ```
90 |
91 | The generated HTML would be:
92 |
93 | ```html
94 |
95 |
This Container has a custom id attribute.
96 |
97 | ```
98 |
99 | ---
100 |
101 | ## Custom global css
102 |
103 | It is also possible to include a global styles by adding to a new **/_includes/head.html** file.
104 |
105 | The contents of **_includes/head.html** are added to all pages of the generated website.
106 |
107 | For example, the inline `
123 | ```
124 |
125 | Moving the `