Drop Caps

Size
3,334 Kb
Views
56,672

How do I make an drop caps?

How to do drop caps real easy so good.. What is a drop caps? How do you make a drop caps? This script and codes were developed by Derek Wheelden on 10 August 2022, Wednesday.

Drop Caps Previews

Drop Caps - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Drop Caps</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.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! */ @import url(http://fonts.googleapis.com/css?family=Gilda+Display|Oswald);
p:first-of-type:first-letter { height: 0.7em; margin: 0.09em 0 -0.05em 0; padding: 0 0.1em 0 0; font-size: 5em; line-height: 0.85em; float: left;
}
html { font-size: 62.5%;
}
body { background: tomato; font-family: 'Gilda Display', serif; font-size: 2em; line-height: 1.5; color: white;
}
.container { width: 40em; margin: 0 auto;
}
h1 { position: relative; top: -0.4em; margin: 0 0 -0.3em; font-family: 'Oswald', helvetica, arial, sans-serif; font-weight: 400; font-size: 8em; line-height: 1; text-align: center; text-transform: uppercase; overflow: hidden;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="container"> <h1>Drop Caps</h1> <p>You kind of have to fudge some of the numbers a little to get things to line up nicely. Setting height <strong>and</strong> line-height is important to kind of normalize where browsers place the floated letter vertically. Text wraps around the first letter which you won't see unless I type a bunch of nonsense in here you can probably just stop reading now. Are you still reading? Do you think that I'm going to write something interesting here and you're afraid you're going to miss out? You're not I'm just wasting all of your time. Life lesson.</p> <p>Bacon ipsum dolor sit amet fatback filet mignon bacon, bresaola hamburger chuck beef ribs meatball pastrami pork belly sirloin corned beef biltong. Jowl short ribs biltong, t-bone salami corned beef venison beef ribs. Drumstick corned beef kielbasa spare ribs chicken ground round. Tenderloin pork tongue shank. Kevin ribeye meatball short ribs. Pork chop strip steak short ribs beef ribs pig drumstick tail spare ribs tongue leberkas ham flank sirloin meatloaf t-bone. Fatback spare ribs pancetta capicola tongue pig, turducken pork belly shoulder.</p>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>

Drop Caps - Script Codes CSS Codes

@import url(http://fonts.googleapis.com/css?family=Gilda+Display|Oswald);
p:first-of-type:first-letter { height: 0.7em; margin: 0.09em 0 -0.05em 0; padding: 0 0.1em 0 0; font-size: 5em; line-height: 0.85em; float: left;
}
html { font-size: 62.5%;
}
body { background: tomato; font-family: 'Gilda Display', serif; font-size: 2em; line-height: 1.5; color: white;
}
.container { width: 40em; margin: 0 auto;
}
h1 { position: relative; top: -0.4em; margin: 0 0 -0.3em; font-family: 'Oswald', helvetica, arial, sans-serif; font-weight: 400; font-size: 8em; line-height: 1; text-align: center; text-transform: uppercase; overflow: hidden;
}
Drop Caps - Script Codes
Drop Caps - Script Codes
Home Page Home
Developer Derek Wheelden
Username frxnz
Uploaded August 10, 2022
Rating 4
Size 3,334 Kb
Views 56,672
Do you need developer help for Drop Caps?

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!

Derek Wheelden (frxnz) Script Codes
Create amazing Facebook ads with AI!

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!