forked from alexdunphy/flexText
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
54 lines (45 loc) · 930 Bytes
/
style.css
File metadata and controls
54 lines (45 loc) · 930 Bytes
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
.flex-text-wrap {
position: relative;
*zoom: 1;
}
textarea,
.flex-text-wrap {
outline: 0;
margin: 0;
border: none;
padding: 0;
*padding-bottom: 0 !important;
}
.flex-text-wrap textarea,
.flex-text-wrap pre {
white-space: pre-wrap;
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
*white-space: pre;
*word-wrap: break-word;
}
.flex-text-wrap textarea {
overflow: hidden;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
resize: none;
/* IE7 box-sizing fudge factor */
*height: 94%;
*width: 94%;
}
.flex-text-wrap pre {
display: block;
visibility: hidden;
}
textarea,
.flex-text-wrap pre {
/*
* Add custom styling here
* Ensure that typography, padding, border-width (and optionally min-height) are identical across textarea & pre
*/
}