UNPKG

npr-pattern-typescript

Version:

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app) and NPR (New React Pattern).

56 lines (47 loc) 989 B
.container { background-color: rgb(20, 20, 20); height: 100vh; color: #fff; display: flex; justify-content: center; align-items: center; } .container > div { width: 30%; text-align: center; position: relative; top: -30px; } .container > div > span:nth-child(1) { font-size: 7rem; } .container > div > span:nth-child(2) { font-size: 2rem; } .container > div > span:nth-child(3) { font-size: 2rem; background-color: floralwhite; color: rgb(20, 20, 20); border-radius: 4px; margin-top: 10px; } .container > div > span { display: block; } .links { margin-top: 50px; display: flex; justify-content: center; } .links a { background-color: rgb(82, 82, 82); padding: 10px 15px; border-radius: 4px; text-decoration: none; display: inline-block; height: 30px; color: #fff; } .links a:nth-child(2) { margin-left: 10px; }