http://mimul.com/pebble/default/2009/10/26/1256566020000.html
7 Quick CSS Enhancements for Better User Experience
1. Change Text Highlight Color
- Firefox, Opera, and Safari에서만 됨
2. Prevent Firefox Scrollbar Jump
- Firefox용
3. Rounded-Corner Elements
4. Print Page Breaks
5. Attribute-Specific Icons
6. CSS Pointer Cursors
7. display:block Links
[참조사이트]
- Firefox, Opera, and Safari에서만 됨
::selection { background:#c3effd; color:#000; /* Safari and Opera */ }
::-moz-selection { background:#c3effd; color:#000; /* Firefox */ }2. Prevent Firefox Scrollbar Jump
- Firefox용
html { overflow-y:scroll; }3. Rounded-Corner Elements
input { -moz-border-radius:10px; -webkit-border-radius:10px; }4. Print Page Breaks
.page-break { page-break-before:always; }5. Attribute-Specific Icons
a[href$='.pdf'] { padding:0 20px 0 0; background:transparent
url(/graphics/icons/pdf.gif) no-repeat center right; }6. CSS Pointer Cursors
input[type=submit],label,select,.pointer { cursor:pointer; }7. display:block Links
#navigation li a { display:block; }[참조사이트]
'Development > Web' 카테고리의 다른 글
| 검색엔진 최적화 HTML 마크업 가이드 (0) | 2016.02.16 |
|---|---|
| HTML 웹 에디터 (0) | 2012.02.10 |
| Identity 2.0 (0) | 2009.08.04 |
| How to set css style on disabled FORM INPUT Tag (0) | 2009.03.12 |
| CSS 범위 넘어가는 글자에 자동으로 ... 붙이는 방법 (3) | 2009.02.09 |