This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { font-size: 62.5%; } | |
body { font-size: 1.4rem; } /* =14px */ | |
h1 { font-size: 2.4rem; } /* =24px */ | |
... | |
<html> | |
<body> | |
<h1>Team</h1> /* 2.4em / 24px */ | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { font-size: 62.5%; } | |
h1 { font-size: 2.4em; } /* =24px */ | |
p { font-size: 1.4em; } /* =14px */ | |
li { font-size: 1.4em; } /* =14px? */ | |
... | |
<li>About /* 1.4em (14px) */ | |
<ul> /* x */ | |
<li>Team</li> 1.4em /* 1.4em (14px) = 20px */ | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { font-size: 62.5%; } | |
h1 { font-size: 2.4em; } /* =24px */ | |
p { font-size: 1.4em; } /* =14px */ | |
li { font-size: 1.4em; } /* =14px? */ | |
... | |
<li>About | |
<ul> | |
<li>Team</li> /* 14px? */ | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* To have the Title of the article reach accross the full | |
width of the article, as opposed to inline */ | |
h2 { | |
-webkit-column-span: all; | |
} | |
/* To give the article 2 columns with a width of 250px */ | |
article { | |
-webkit-column-count: 2; |