/
WKTouchStyles.css
66 lines (61 loc) · 1.08 KB
/
WKTouchStyles.css
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
/*
*
* Find more about this template by visiting
* http://miniapps.co.uk/
*
* Copyright (c) 2010 Alex Gibson, http://miniapps.co.uk/
* Released under MIT license
*
* Version 1.0 - Last updated: March 03 2010
*
*/
.touch {
-webkit-user-select: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-text-size-adjust: none;
-webkit-touch-callout: none;
}
#element1 {
position: absolute;
left: 10px;
top: 10px;
height:120px;
width:120px;
text-align:center;
line-height: 120px;
color: white;
background-color: blue;
}
#element2 {
position: absolute;
right: 10px;
top: 10px;
height:120px;
width:120px;
text-align:center;
line-height: 120px;
color: white;
background-color: red;
}
#element3 {
position: absolute;
right: 10px;
bottom: 10px;
height:120px;
width:120px;
text-align:center;
line-height: 120px;
color: white;
background-color: green;
}
#element4 {
position: absolute;
left: 10px;
bottom: 10px;
height:120px;
width:120px;
text-align:center;
line-height: 120px;
color: white;
background-color: yellow;
}