-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy path83_longcat.html
30 lines (26 loc) · 983 Bytes
/
83_longcat.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
<!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; white-space:pre; border-radius: 10px; border: 3px solid #aaa; background-color:#dedede; margin: 20px auto; width: 80%; font-family:"Courier New", Courier, monospace;}
div {
padding-top: 60px;
white-space: nowrap;
min-width: 80px;
}
</style>
<style contenteditable>div {
border: solid transparent;
border-width: 48px 137px 68px 84px;
-webkit-border-image: url(http://i1275.photobucket.com/albums/y446/estellevw/longcat_zps8f994bf4.jpg) 48 137 68 84 stretch;
border-image: url(http://i1275.photobucket.com/albums/y446/estellevw/longcat_zps8f994bf4.jpg) 48 137 68 84 fill stretch;
}</style>
<title>CSS Border Image</title>
</head>
<body>
<div>This is a very long cat</div>
</body>
</html>