/ Published in: CSS
Change Text Highlight Color |
Prevent Firefox Scrollbar Jump |
Print Page Breaks |
Attribute-Specific Icons |
CSS Pointer Cursors |
Prevent Safari Resizeable Text areas
Prevent Firefox Scrollbar Jump |
Print Page Breaks |
Attribute-Specific Icons |
CSS Pointer Cursors |
Prevent Safari Resizeable Text areas
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
::selection { background:#c3effd; color:#000; /* Safari and Opera */ } ::-moz-selection { background:#c3effd; color:#000; /* Firefox */ } html { overflow-y:scroll; } .page-break { page-break-before:always; } a[href$='.pdf'] { padding:0 20px 0 0; background:transparent url(/graphics/icons/pdf.gif) no-repeat center right; } input[type=submit],label,select,.pointer { cursor:pointer; } resize: none;
URL: http://davidwalsh.name/css-enhancements-user-experience