-
Notifications
You must be signed in to change notification settings - Fork 2
/
html5-3.html
executable file
·115 lines (96 loc) · 2.89 KB
/
html5-3.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<style type="text/css" media="screen">
p{
border:medium solid black;
}
#first{
border-radius:20px /15px;
}
#second{
border-radius:
50% 20px 25% 5em /25% 15px 40px 55%;
}
#third{
box-shadow:5px 4px 10px 2px gray;
}
#four{
border:none;
outline:thick solid red;
}
p{
width:150px;
border:medium solid black;
background-color: lightgray;
margin:2px;
max-width: 250px;
}
#container{
display:-webkit-box;
-webkit-box-decoration: reverse ;
-webkit-box-align:end;
-webkit-box-pack:justify;
}
#s{
-webkit-box-flex:1;
}
#f{
-webkit-box-flex:3;
text-indent: 2em;
}
#fruittext{
width:400px;
margin:5px;
padding:5px;
border: medium double black;
background-color: lightgray;
white-space: pre-line;
letter-spacing: 2px;
line-height: 3em;
word-wrap: break-word;
}
#firstltr{
direction: ltr;
text-decoration: line-through;
text-transform: uppercase;
}
#secondrtl{
direction:rtl;
text-shadow: 0.1em .1em 1px black;
}
</style>
</head>
<body>
<p id="first">
圆角1
</p>
<p id="second">
圆角2
</p>
<p id="third">
阴影
</p>
<p id="four">
轮廓
</p>
<div id="container">
<p id="f">
弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒
</p>
<p id="s">
弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒
</p>
<p id="t">弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒弹性盒</p>
</div>
<p id="fruittext">
There are lots of different kinds.jskljldkjf lakjsdfjlaskdjflkasjldf;aslkdjf;laskjd;fajs;ldf
lkajsldkjflk
lkjsaldkjflkas
l;kajs;ldkfj;kasdjf
</p>
<p id="firstltr">左边aaa+文字效果+大写</p>
<p id="secondrtl">右边+文字阴影</p>
</body>
</html>