Design: focus blocks
How to use
Rendering | Code |
Start hereBelow, you can find the most basic template. Use it as a starting point. | <div class='focus-block'> <h5>Start here</h5> Below, you can find the most basic template. Use it as a starting point. </div> |
| <div class='focus-block'> <h5></h5>
</div> |
Use the code beside to prevent the automatic creation of a table of content. | [toc hidden: 1] |
Add some coloursAdd classes next to the "focus-block" class to make things more colorful. The "vivid-" classes give bright colors. Here we have added the "vivid-360" class to get a bright red. See below for a list of "vivid-" classes. | <div class='focus-block vivid-360'> <h5>Add some colours</h5> Add classes next to the "focus-block" class to make things more colorful. The "vivid-" classes give bright colors. Here we have added the "vivid-360" class to get a bright red. See below for a list of "vivid-" classes. </div> |
More coloursThe "color-" classes provide more subdued tints. Here, we have chosen "color-100" for a slightly faded green. See below fo a list of "color-" classes. | <div class='focus-block color-100'> <h5>More colours</h5> The "color-" classes provide more subdued tints. Here, we have chosen "color-100" for a slightly faded green. See below fo a list of "color-" classes. </div> |
Sizes matterControl the size with the "size-" classes. Here, we have added the "size-6" class to get a bigger box. Try from size-1 to size-12. See below for more samples. | <div class='focus-block size-6'> <h5>Sizes matter</h5> Control the size with the "size-" classes. Here, we have added the "size-6" class to get a bigger box. Try from size-1 to size-12. See below for more samples. </div> |
Stack some blocksBy default, focus blocks get stacked on the left. Stack some blocksBy default, focus blocks get stacked on the left. | <div class='focus-block size-2'> <h5>Stack some blocks</h5> By default, focus blocks get stacked on the left. </div> |
Center everythingEncompass everything inside a <div> with the "center" class to have the boxes centered in the middle. Center everythingEncompass everything inside a <div> with the "center" class to have the boxes centered in the middle. | <div class='center'> <div class='focus-block size-2'> <h5>Center everything</h5> Encompass everything inside a <div> with the "center" class to have the boxes centered in the middle. </div> </div> |
Vivid classes
Title
vivid-10
Title
Some text hereTitle
vivid-20
Title
Some text hereTitle
vivid-30
Title
Some text hereTitle
vivid-40
Title
Some text hereTitle
vivid-50
Title
Some text hereTitle
vivid-60
Title
Some text hereTitle
vivid-70
Title
Some text hereTitle
vivid-80
Title
Some text hereTitle
vivid-90
Title
Some text hereTitle
vivid-100
Title
Some text hereTitle
vivid-110
Title
Some text hereTitle
vivid-120
Title
Some text hereTitle
vivid-130
Title
Some text hereTitle
vivid-140
Title
Some text hereTitle
vivid-150
Title
Some text hereTitle
vivid-160
Title
Some text hereTitle
vivid-170
Title
Some text hereTitle
vivid-180
Title
Some text hereTitle
vivid-190
Title
Some text hereTitle
vivid-200
Title
Some text hereTitle
vivid-210
Title
Some text hereTitle
vivid-220
Title
Some text hereTitle
vivid-230
Title
Some text hereTitle
vivid-240
Title
Some text hereTitle
vivid-250
Title
Some text hereTitle
vivid-260
Title
Some text hereTitle
vivid-270
Title
Some text hereTitle
vivid-280
Title
Some text hereTitle
vivid-290
Title
Some text hereTitle
vivid-300
Title
Some text hereTitle
vivid-310
Title
Some text hereTitle
vivid-320
Title
Some text hereTitle
vivid-330
Title
Some text hereTitle
vivid-340
Title
Some text hereTitle
vivid-350
Title
Some text hereTitle
vivid-360
Title
Some text hereColor classes
Title
color-10
Title
Some text hereTitle
color-20
Title
Some text hereTitle
color-30
Title
Some text hereTitle
color-40
Title
Some text hereTitle
color-50
Title
Some text hereTitle
color-60
Title
Some text hereTitle
color-70
Title
Some text hereTitle
color-80
Title
Some text hereTitle
color-90
Title
Some text hereTitle
color-100
Title
Some text hereTitle
color-110
Title
Some text hereTitle
color-120
Title
Some text hereTitle
color-130
Title
Some text hereTitle
color-140
Title
Some text hereTitle
color-150
Title
Some text hereTitle
color-160
Title
Some text hereTitle
color-170
Title
Some text hereTitle
color-180
Title
Some text hereTitle
color-190
Title
Some text hereTitle
color-200
Title
Some text hereTitle
color-210
Title
Some text hereTitle
color-220
Title
Some text hereTitle
color-230
Title
Some text hereTitle
color-240
Title
Some text hereTitle
color-250
Title
Some text hereTitle
color-260
Title
Some text hereTitle
color-270
Title
Some text hereTitle
color-280
Title
Some text hereTitle
color-290
Title
Some text hereTitle
color-300
Title
Some text hereTitle
color-310
Title
Some text hereTitle
color-320
Title
Some text hereTitle
color-330
Title
Some text hereTitle
color-340
Title
Some text hereTitle
color-350
Title
Some text hereTitle
color-360
Title
Some text hereGrey classes
Title
grey-60
Title
Some text hereTitle
grey-120
Title
Some text hereTitle
grey-180
Title
Some text hereTitle
grey-240
Title
Some text hereTitle
grey-300
Title
Some text hereTitle
grey-360
Title
Some text hereSizes
Title
size-1
Title
Some text here
Title
size-2
Title
Some text here
Title
size-3
Title
Some text here
Title
size-4
Title
Some text here
Title
size-5
Title
Some text here
Title
size-6
Title
Some text here
Title
size-7
Title
Some text here
Title
size-8
Title
Some text here
Title
size-9
Title
Some text here
Title
size-10
Title
Some text here
Title
size-11
Title
Some text here
Title
size-12
Title
Some text here