|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | +<title>TACHYONS - Layout Four Column Collapse Two</title> |
| 5 | +<meta name="description" content="Tachyons Component"> |
| 6 | + <meta charset="utf-8"> |
| 7 | +<meta http-equiv="X-UA-Compatible" content="IE=Edge"> |
| 8 | +<meta name="author" content="@mrmrs"> |
| 9 | +<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 10 | +<link rel="stylesheet" href="/css/tachyons.min.css"> |
| 11 | +<style> |
| 12 | + .blue { color: #0074D9; } |
| 13 | + .bg-blue { background-color: #0074D9; } |
| 14 | +</style> |
| 15 | + |
| 16 | +</head> |
| 17 | +<body class="w-100 sans-serif bg-white"> |
| 18 | +<main> |
| 19 | + <section class="cf"> |
| 20 | + <div class="fl w-50 w-25-ns"><img class="db w-100" src="/img/1.jpg"></div> |
| 21 | + <div class="fl w-50 w-25-ns"><img class="db w-100" src="/img/2.jpg"></div> |
| 22 | + <div class="fl w-50 w-25-ns"><img class="db w-100" src="/img/3.jpg"></div> |
| 23 | + <div class="fl w-50 w-25-ns"><img class="db w-100" src="/img/4.jpg"></div> |
| 24 | + |
| 25 | + |
| 26 | +</section> |
| 27 | + |
| 28 | + <section data-name="component-info" class="pa3 pa5-ns bt b--black-10 black-70" style="background: #fafafa;"> |
| 29 | + <h1 class="f4 f3-ns mt4">Layout Four Column Collapse Two</h1> |
| 30 | + |
| 31 | +<div class="cf"> |
| 32 | +<div class="fl w-100 w-75-ns pr0 pr2-ns"> |
| 33 | +<h2 class="f5">HTML</h2> |
| 34 | +<p class="f5 black-70"></p> |
| 35 | +<pre class="pa3 ba br2 b--black-05 h5" id="html"> |
| 36 | +<section class="cf"> |
| 37 | + <div class="fl w-50 w-25-ns"><img class="db w-100" src="/img/1.jpg"></div> |
| 38 | + <div class="fl w-50 w-25-ns"><img class="db w-100" src="/img/2.jpg"></div> |
| 39 | + <div class="fl w-50 w-25-ns"><img class="db w-100" src="/img/3.jpg"></div> |
| 40 | + <div class="fl w-50 w-25-ns"><img class="db w-100" src="/img/4.jpg"></div> |
| 41 | + |
| 42 | + |
| 43 | +</section> |
| 44 | + |
| 45 | +</pre> |
| 46 | +</div> |
| 47 | +<div class="fl w-100 w-25-ns pl0 pl2-ns"> |
| 48 | +<h2 class="f5">CSS</h2> |
| 49 | +<pre class="pa3 ba br2 b--black-05 h5" id="css">.cf { |
| 50 | + *zoom: 1; |
| 51 | +} |
| 52 | + |
| 53 | +.db { |
| 54 | + display: block; |
| 55 | +} |
| 56 | + |
| 57 | +.fl { |
| 58 | + float: left; |
| 59 | + display: inline; |
| 60 | +} |
| 61 | + |
| 62 | +.w-50 { |
| 63 | + width: 50%; |
| 64 | +} |
| 65 | + |
| 66 | +.w-100 { |
| 67 | + width: 100%; |
| 68 | +} |
| 69 | + |
| 70 | +@media screen and (min-width: 48em) { |
| 71 | + .w-25-ns { |
| 72 | + width: 25%; |
| 73 | + } |
| 74 | +} |
| 75 | + |
| 76 | +</pre> |
| 77 | +</div> |
| 78 | +</div> |
| 79 | +<div class="cf"> |
| 80 | + <div class="fl w-100 w-50-ns"> |
| 81 | + <h2 class="f5 mt4">Modules referenced</h2> |
| 82 | + <ul class="list pl0 cf lh-copy mw7"> |
| 83 | + |
| 84 | + <li class="fl w-100 w-50-m w-33-ns"><a class="f5 link dim blue fw6" href="https://github.com/tachyons-css/tachyons-clearfix">tachyons-clearfix</a></li> |
| 85 | + |
| 86 | + <li class="fl w-100 w-50-m w-33-ns"><a class="f5 link dim blue fw6" href="https://github.com/tachyons-css/tachyons-display">tachyons-display</a></li> |
| 87 | + |
| 88 | + <li class="fl w-100 w-50-m w-33-ns"><a class="f5 link dim blue fw6" href="https://github.com/tachyons-css/tachyons-floats">tachyons-floats</a></li> |
| 89 | + |
| 90 | + <li class="fl w-100 w-50-m w-33-ns"><a class="f5 link dim blue fw6" href="https://github.com/tachyons-css/tachyons-widths">tachyons-widths</a></li> |
| 91 | + |
| 92 | + </ul> |
| 93 | + </div> |
| 94 | + <div class="fl w-100 w-50-ns pl0 pl4-ns"> |
| 95 | + <h2 class="f5 mb3 mt4">CSS Stats for this Component</h2> |
| 96 | + <dl class="dib mr4 mt0"> |
| 97 | + <dt class="db f6">Size (Gzipped)</dt> |
| 98 | + <dd class="ml0 b f3 f2-ns">159</dd> |
| 99 | + </dl> |
| 100 | + <dl class="dib mr4 mt0"> |
| 101 | + <dt class="db f6">Selectors</dt> |
| 102 | + <dd class="ml0 b f3 f2-ns">6</dd> |
| 103 | + </dl> |
| 104 | + <dl class="dib mt0"> |
| 105 | + <dt class="db f6">Declarations</dt> |
| 106 | + <dd class="ml0 b f3 f2-ns">7</dd> |
| 107 | + </dl> |
| 108 | + </div> |
| 109 | +</div> |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + <h4 class="mt5">Install via npm <small class="fw2 f6 db mt1">Only installs the needed tachyons-modules for this component</small></h4> |
| 115 | + <code class="f6">npm i --save tachyons-clearfix tachyons-display tachyons-floats tachyons-widths</code> |
| 116 | + <section class="bt b--black-10 mt5 pv4"> |
| 117 | + <h1 class="f6 b ttu">Other Components</h1> |
| 118 | + |
| 119 | + |
| 120 | + <div> |
| 121 | + <h2 class="f5 mb2 ttc mid-gray">articles</h2> |
| 122 | + |
| 123 | + <a class="f5 dib mr3 blue link dim fw6" href="/components/articles/title-text-image/index.html">Title Text Image</a> |
| 124 | + |
| 125 | + <a class="f5 dib mr3 blue link dim fw6" href="/components/articles/title-text/index.html">Title Text</a> |
| 126 | + |
| 127 | + </div> |
| 128 | + |
| 129 | + <div> |
| 130 | + <h2 class="f5 mb2 ttc mid-gray">layout</h2> |
| 131 | + |
| 132 | + <a class="f5 dib mr3 blue link dim fw6" href="/components/layout/flag-object-collapse/index.html">Flag Object Collapse</a> |
| 133 | + |
| 134 | + <a class="f5 dib mr3 blue link dim fw6" href="/components/layout/flag-object/index.html">Flag Object</a> |
| 135 | + |
| 136 | + <a class="f5 dib mr3 blue link dim fw6" href="/components/layout/four-column-collapse-two/index.html">Four Column Collapse Two</a> |
| 137 | + |
| 138 | + <a class="f5 dib mr3 blue link dim fw6" href="/components/layout/three-column-collapse-one-two/index.html">Three Column Collapse One Two</a> |
| 139 | + |
| 140 | + <a class="f5 dib mr3 blue link dim fw6" href="/components/layout/two-column-collapse-one/index.html">Two Column Collapse One</a> |
| 141 | + |
| 142 | + <a class="f5 dib mr3 blue link dim fw6" href="/components/layout/two-column/index.html">Two Column</a> |
| 143 | + |
| 144 | + </div> |
| 145 | + |
| 146 | + <div> |
| 147 | + <h2 class="f5 mb2 ttc mid-gray">nav</h2> |
| 148 | + |
| 149 | + <a class="f5 dib mr3 blue link dim fw6" href="/components/nav/large-title-link-list/index.html">Large Title Link List</a> |
| 150 | + |
| 151 | + <a class="f5 dib mr3 blue link dim fw6" href="/components/nav/title-link-list/index.html">Title Link List</a> |
| 152 | + |
| 153 | + </div> |
| 154 | + |
| 155 | + </section> |
| 156 | + </section> |
| 157 | +</main> |
| 158 | + |
| 159 | + |
| 160 | + |
| 161 | + <script src="/js/highlight.min.js"></script> |
| 162 | +<script> |
| 163 | + hljs.highlightBlock(document.querySelector('#css')) |
| 164 | + hljs.highlightBlock(document.querySelector('#html')) |
| 165 | +</script> |
| 166 | +<style> |
| 167 | +/* |
| 168 | +
|
| 169 | +github.com style (c) Vasily Polovnyov <vast@whiteants.net> |
| 170 | +
|
| 171 | +*/ |
| 172 | + |
| 173 | +.hljs { |
| 174 | + display: block; |
| 175 | + overflow-x: auto; |
| 176 | + padding: 0.5em; |
| 177 | + color: #333; |
| 178 | + background: #f8f8f8; |
| 179 | +} |
| 180 | + |
| 181 | +.hljs-comment, |
| 182 | +.hljs-quote { |
| 183 | + color: #998; |
| 184 | + font-style: italic; |
| 185 | +} |
| 186 | + |
| 187 | +.hljs-keyword, |
| 188 | +.hljs-selector-tag, |
| 189 | +.hljs-subst { |
| 190 | + color: #333; |
| 191 | + font-weight: bold; |
| 192 | +} |
| 193 | + |
| 194 | +.hljs-number, |
| 195 | +.hljs-literal, |
| 196 | +.hljs-variable, |
| 197 | +.hljs-template-variable, |
| 198 | +.hljs-tag .hljs-attr { |
| 199 | + color: #008080; |
| 200 | +} |
| 201 | + |
| 202 | +.hljs-string, |
| 203 | +.hljs-doctag { |
| 204 | + color: #d14; |
| 205 | +} |
| 206 | + |
| 207 | +.hljs-title, |
| 208 | +.hljs-section, |
| 209 | +.hljs-selector-id { |
| 210 | + color: #900; |
| 211 | + font-weight: bold; |
| 212 | +} |
| 213 | + |
| 214 | +.hljs-subst { |
| 215 | + font-weight: normal; |
| 216 | +} |
| 217 | + |
| 218 | +.hljs-type, |
| 219 | +.hljs-class .hljs-title { |
| 220 | + color: #458; |
| 221 | + font-weight: bold; |
| 222 | +} |
| 223 | + |
| 224 | +.hljs-tag, |
| 225 | +.hljs-name, |
| 226 | +.hljs-attribute { |
| 227 | + color: #000080; |
| 228 | + font-weight: normal; |
| 229 | +} |
| 230 | + |
| 231 | +.hljs-regexp, |
| 232 | +.hljs-link { |
| 233 | + color: #009926; |
| 234 | +} |
| 235 | + |
| 236 | +.hljs-symbol, |
| 237 | +.hljs-bullet { |
| 238 | + color: #990073; |
| 239 | +} |
| 240 | + |
| 241 | +.hljs-built_in, |
| 242 | +.hljs-builtin-name { |
| 243 | + color: #0086b3; |
| 244 | +} |
| 245 | + |
| 246 | +.hljs-meta { |
| 247 | + color: #999; |
| 248 | + font-weight: bold; |
| 249 | +} |
| 250 | + |
| 251 | +.hljs-deletion { |
| 252 | + background: #fdd; |
| 253 | +} |
| 254 | + |
| 255 | +.hljs-addition { |
| 256 | + background: #dfd; |
| 257 | +} |
| 258 | + |
| 259 | +.hljs-emphasis { |
| 260 | + font-style: italic; |
| 261 | +} |
| 262 | + |
| 263 | +.hljs-strong { |
| 264 | + font-weight: bold; |
| 265 | +} |
| 266 | +</style> |
| 267 | + |
| 268 | + <footer class="bg-near-white mid-gray ph3 ph5-ns pv5 pv6-ns bt b--black-10"> |
| 269 | + <a href="https://twitter.com/intent/tweet?text=Tachyons: Functional CSS for Humans.&url=http://tachyons.io" target="_blank" class="dn mb3 twitter bg-white link dim br2 ph2 pb1 pt0 lh-solid" style="background-color: #55acee;"> |
| 270 | + <svg class="geomicon dib v-mid" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="16" height="16" fill="#fff"> |
| 271 | + <path d="M2 4 C6 8 10 12 15 11 A6 6 0 0 1 22 4 A6 6 0 0 1 26 6 A8 8 0 0 0 31 4 A8 8 0 0 1 28 8 A8 8 0 0 0 32 7 A8 8 0 0 1 28 11 A18 18 0 0 1 10 30 A18 18 0 0 1 0 27 A12 12 0 0 0 8 24 A8 8 0 0 1 3 20 A8 8 0 0 0 6 19.5 A8 8 0 0 1 0 12 A8 8 0 0 0 3 13 A8 8 0 0 1 2 4"/> |
| 272 | + </svg> |
| 273 | + <span class="dib v-mid white fw6" style="font-size: 12px;">Tweet</span> |
| 274 | + </a> |
| 275 | + <article> |
| 276 | + <iframe src="https://ghbtns.com/github-btn.html?user=tachyons-css&repo=tachyons&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe> |
| 277 | + <iframe src="https://ghbtns.com/github-btn.html?user=tachyons-css&repo=tachyons&type=fork&count=true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe> |
| 278 | + </article> |
| 279 | + |
| 280 | + <p> |
| 281 | + <a class="black-70 link dim b dib mr3" href="http://tachyons-slack-invite.herokuapp.com" title="Join our Slack Channel"> |
| 282 | + Join our Slack Channel |
| 283 | + </a> |
| 284 | + <a class="black-70 link dim b dib mr3" href="https://github.com/tachyons-css/tachyons/issues" title="File a bug, request a feature, ask a question!"> |
| 285 | + Open an Issue |
| 286 | + </a> |
| 287 | + <a class="black-70 link dim b dib mr3" href="https://github.com/tachyons-css" title="Tachyons-css on GitHub"> |
| 288 | + GitHub |
| 289 | + </a> |
| 290 | + </p> |
| 291 | + <p class="measure copy lh-copy"> |
| 292 | + Have a question? Need help? Feel free to open an issue on GitHub or ask a |
| 293 | + question in our slack channel. We're here to try and help make designing in |
| 294 | + the browser fun. |
| 295 | + </p> |
| 296 | + <small class="f6 measure db lh-copy mt5"> |
| 297 | + A tachyon /ˈtæki.ɒn/ or tachyonic particle is a hypothetical particle |
| 298 | + that always moves faster than light. |
| 299 | + The word comes from the Greek: |
| 300 | + <br> <br> |
| 301 | + ταχύς or tachys, meaning "swift, quick, fast, rapid" |
| 302 | + </small> |
| 303 | +</footer> |
| 304 | + |
| 305 | + <script> |
| 306 | + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| 307 | + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| 308 | + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| 309 | + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |
| 310 | + |
| 311 | +ga('create', 'UA-55773803-1', 'auto'); |
| 312 | +ga('send', 'pageview'); |
| 313 | + |
| 314 | + </script> |
| 315 | + |
| 316 | +</body> |
| 317 | +</html> |
| 318 | + |
| 319 | + |
0 commit comments