Showing posts with label CSS. Show all posts
Showing posts with label CSS. Show all posts

Saturday, February 7, 2015

Cross Browser HTML Input Placeholder color change using CSS with Example.


HTML5 Placeholder example

One of the features of HTML5 that was very quickly adapted by the developers around the globe and almost all the browsers developed since then, was “placeholder” attribute in input element. People stopped using javascript snippet in their code with onclick and onblur events.

Disable text selection highlighting using CSS - Cross Browser

disable select text using css

The below CSS properties are helpful to stop the users to select the text from webpage. These are not standard properties. but still works most of the browsers.

Monday, September 29, 2014

CSS Style Guidelines for Websites

As we wrap up our recent poll on ordering CSS properties, it brings up the larger issue of CSS style guides. Ordering properties is just one choice you have to make that makes up a complete styling strategy. Naming is a part of it. Sectioning is a part of it. Commenting, indentation, overall file structure... it all makes up a complete CSS style guide.
Let's round up some existing ones.