-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss3-drop-cap.html
More file actions
31 lines (31 loc) · 1.1 KB
/
css3-drop-cap.html
File metadata and controls
31 lines (31 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!doctype html>
<html lang=en>
<head>
<title>Drop cap initial letter</title>
<meta charset="utf-8">
<!-- <meta details go here> -->
<meta name="google-adsense-account" content="ca-pub-9639638377144073">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-UA Compatible" content="ie=edge">
<meta name="author" content="Orris A BakerJr">
<meta name="description" content="HTML, Jquery, Javascript, Multimedia document">
<meta name="theme-color" content="#712cf9">
<meta name="keywords" content="HTML5, Node.js, Jquery">
<meta name="author" content="Ian Andolina">
<style type="text/css">
p { font-size: large; line-height: 1.1 }
#dropcap-section p::first-letter { font-size: 300%; font-weight: bold; float: left }
</style>
</head>
<body>
surrounding paragraph
<div id="dropcap-section">
<p>Drop capitals are possible in CSS3<br>
The first letter is targeted by the <br>
first-letter pseudo-element. The first<br>
letter is enlarged and
dropped to<br>
span more than one line. <br></p></div>
surrounding paragraph
</body>
</html>