Flexbox quote box
How do I make an flexbox quote box?
Perfectly centered pure-CSS quote box.. What is a flexbox quote box? How do you make a flexbox quote box? This script and codes were developed by Mitch Pruitt on 08 November 2022, Tuesday.
Flexbox quote box - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Flexbox quote box</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ @charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
body { background: url(https://images.artnet.com/aoa_lot_images/79933/chuck-close-self-portrait-prints-and-multiples-serigraph-screenprint-zoom.jpg) center center no-repeat fixed; background-size: cover;
}
section { height: 100vh; width: 100vw; display: flex; justify-content: center; align-items: center;
}
.quote { width: 80%;
}
.quote p { padding: 0 2em; background-color: #212121; color: white;
}
.quote .text { padding-top: 2em; font: normal 400 1em/1.5em 'Montserrat', sans-serif; letter-spacing: 0.04em;
}
.quote .attr { padding-bottom: 1em; font: normal 700 1.5em/1.5em 'Montserrat', sans-serif; letter-spacing: 0.07em; text-align: right;
}
.quote .attr:before { content: " - ";
}
.quote:after { content: "◤"; font-size: 2em; color: #212121; margin: 0 0 0 75%;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <section> <div class="quote"> <p class="text">Inspiration is for amateurs - the rest of us just show up and get to work. And the belief that things will grow out of the activity itself and that you will - through work - bump into other possibilities and kick open other doors that you would never have dreamt of if you were just sitting around looking for a great ‘art [idea].' And the belief that process, in a sense, is liberating and that you don't have to reinvent the wheel every day. Today, you know what you'll do, you could be doing what you were doing yesterday, and tomorrow you are gonna do what you [did] today, and at least for a certain period of time you can just work. If you hang in there, you will get somewhere.</p> <p class="attr">Chuck Close</p> </div>
</section> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Flexbox quote box - Script Codes CSS Codes
@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
body { background: url(https://images.artnet.com/aoa_lot_images/79933/chuck-close-self-portrait-prints-and-multiples-serigraph-screenprint-zoom.jpg) center center no-repeat fixed; background-size: cover;
}
section { height: 100vh; width: 100vw; display: flex; justify-content: center; align-items: center;
}
.quote { width: 80%;
}
.quote p { padding: 0 2em; background-color: #212121; color: white;
}
.quote .text { padding-top: 2em; font: normal 400 1em/1.5em 'Montserrat', sans-serif; letter-spacing: 0.04em;
}
.quote .attr { padding-bottom: 1em; font: normal 700 1.5em/1.5em 'Montserrat', sans-serif; letter-spacing: 0.07em; text-align: right;
}
.quote .attr:before { content: " - ";
}
.quote:after { content: "◤"; font-size: 2em; color: #212121; margin: 0 0 0 75%;
}
Developer | Mitch Pruitt |
Username | mitchdot |
Uploaded | November 08, 2022 |
Rating | 3 |
Size | 3,441 Kb |
Views | 22,264 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
ASCII triangle image overlay | 2,200 Kb |
Sliding image | 2,497 Kb |
Image caption overlay | 2,107 Kb |
Off-screen navigation | 5,220 Kb |
Image header overlay | 2,188 Kb |
Segmented control | 3,759 Kb |
Sooper cool article header image | 3,583 Kb |
Contact Card Flip | 5,338 Kb |
Threadless-style rollover menu | 2,195 Kb |
Snazzy fixed backgrounds | 4,927 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
404 Error Page | WebSonick | 3,203 Kb |
Tab panels | Accessibility | 0 Kb |
JavaScript constructors | Simboonlong | 2,415 Kb |
FontAwesome icons with animation | Nicotinell | 2,083 Kb |
Polygon Logo in CSS | Kai | 3,412 Kb |
Bootstrap 4 Gridsystem Demo | Rivella50 | 1,535 Kb |
Filter inputs | Rowinf | 1,721 Kb |
The CodePen Logo | Kindofone | 4,259 Kb |
BabyStore | Pablo-Ai | 3,807 Kb |
Calculator | Rzencoder | 4,572 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!