-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy path33_bubbles.html
42 lines (38 loc) · 913 Bytes
/
33_bubbles.html
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
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE HTML>
<html>
<head>
<style>
head, style {display: block;}
[contenteditable] {-webkit-user-modify: read-write-plaintext-only;}
style:first-of-type {visibility:hidden;}
style:last-of-type {padding: 20px; font-size: 1.5em; white-space: pre; font-family: monospace;}
ol {font-family:Verdana, Geneva, sans-serif; font-size:1.2em}
li {color: black;}
li li {color: green;}
p, pre {font-size: 2em;padding: 20px; background-color: #ccc; border-radius: 15px;}
p {}
</style>
<style contenteditable>.quote {
border-radius: 10px;
position:relative;
padding: 20px;
background-color: red;
color: white;
float: left;
}
.quote:after {
position:absolute;
content: '';
width: 0;
height:0;
border: 20px solid blue;
border-color: red transparent transparent transparent;
bottom: -39px;
left: 20px;
}</style>
<title>Generate Text</title>
</head>
<body>
<p class="quote">This is a quote</p>
</body>
</html>