Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>CSS text formatting</title>
- <link href="https://fonts.googleapis.com/css?family=Baloo+Chettan+2&display=swap" rel="stylesheet">
- <style>
- body {
- font-family: Verdana, Geneva, sans-serif;
- font-size: 1em;
- }
- h1 {
- font-family: 'Righteous', cursive;
- color: dodgerblue;
- font-size: 2.5em;
- text-shadow: 2px 3px rgba(0, 0, 0, 0.3);
- text-transform: 0.05;
- }
- h3 {
- font-size: 1.8em;
- background-color: dodgerblue;
- color: white;
- word-spacing: 0.2;
- padding: 0.15;
- font-variant: small-caps;
- }
- h3 span {
- background-color: orangered;
- padding: 0.15em;
- }
- p,
- blockquote {
- text-align: justify;
- }
- p {
- line-height: 2;
- text-indent: 2em;
- }
- p strong {
- font-weight: 900;
- font-stretch: ultra-expanded;
- color: dimgray;
- }
- a {
- color: dodgerblue;
- text-decoration: none;
- }
- a:hover {
- color: orangered;
- text-decoration: underline;
- }
- blockquote {
- font: italic bold 1.1em/1.5em Georgia, serif;
- background-color: lightgray;
- border-left: 10px solid dodgerblue;
- margin: 1.5em 10px;
- padding: 0.5em 10px;
- quotes: "\201C""\201D""\2018""\2019";
- }
- blockquote:before {
- color: dodgerblue;
- content: open-quote;
- font-size: 3em;
- line-height: 0.1em;
- margin-right: 0.25em;
- vertical-align: -0.4em;
- }
- blockquote p {
- display: inline;
- }
- </style>
- </head>
- <body>
- <h1>PAGE HEADING</h1>
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
- <h3>Section <span>heading</span> one</h3>
- <p>Let me tell you something you already know. The world ain’t all sunshine and rainbows. It’s a very mean and nasty place and I don’t care how tough you are it will beat you to your knees and keep you there permanently if you let it. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
- </p>
- <h3>Section <span>heading</span> two</h3>
- <p>Lorem <a href="#">ipsum dolor sit amet</a>, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
- <p> Nulla aliquet porttitor venenatis. Donec <a href="#"> sed do eisumod tempor</a>, nec massa. Aliquam erat volutpat. Sed ut dui ut lacus dictum fermentum vel tincidunt neque. Sed sed lacinia lectus.</p>
- <blockquote>At vero eos et accusamus et qui blanditiis praesentium voluptatum deleniti atque corrupti, quos dolores et quas molestias excepturi sint, obcaecati cupiditate non provident, similique sunt in culpa, qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. </blockquote>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement