1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-12 17:14:19 +02:00

Tweak main heading

This commit is contained in:
Phuoc Nguyen
2019-11-21 21:34:52 +07:00
parent 3e060d37cc
commit a2ebc07e9e

View File

@@ -36,7 +36,7 @@ const Home = () => {
<Layout>
<div className="mt5 bl br bt b--black-20 br4 br--top">
<div className="relative">
<h1 className="absolute bg-white f2 fw6 left-2 lh-copy ma0 ph2 top-0" style={{ left: '50%', transform: 'translate(-50%, -50%)' }}>CSS Layout</h1>
<h1 className="absolute bg-white f2 fw6 left-2 lh-copy ma0 ph2 top-0 br-pill ph3 white bg-dark-blue" style={{ left: '50%', transform: 'translate(-50%, -50%)' }}>CSS Layout</h1>
<h2 className="fw3 f3 tc lh-copy ma0 pa4">a collection of popular layouts and patterns made with CSS</h2>