tst
Css
code posted
created at 26 Aug 21:31
Edit
|
Back
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 |
#respond { background: #e9e9e9; background:rgba(0,0,0,.03); border: 1px solid #ddd; border:1px solid rgba(0,0,0,.08); color: #444; margin: 0 auto 1.4em; padding: 1.4em; position: relative; } #respond input[type="text"], #respond textarea { background: #fff; position: relative; padding: 5px; text-indent: 95px; top:0; } #respond .comment-form-author, #respond .comment-form-email, #respond .comment-form-url, #respond .comment-form-comment { position: relative; } #respond .comment-form-author label, #respond .comment-form-email label, #respond .comment-form-url label, #respond .comment-form-comment label { background:#eee; color: #555; display: inline-block; line-height:20px; padding:5px 15px; font-size: 12px; position: absolute; left: 1px; top: 1px; z-index: 1; min-width:60px; } #respond textarea { width: 95%; height:160px; } #respond .comment-form-author .required, #respond .comment-form-email .required { color: #3f98db; font-size: 16px; font-weight: bold; left: 67%; position: absolute; top: 5px; z-index: 1; } #respond input[type="text"]:focus, #respond textarea:focus { z-index: 1; text-indent:5px; } |
1.18 KB in 4 ms with coderay