웹마스터 팁
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
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
ux를 편리하게 하기 위한 css 팁
2014.02.03 18:29
1. Change Text Highlight Color
- 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; }
참고가 되셨으면 합니다.
출처: http://davidwalsh.name/css-enhancements-user-experience