How to use gradient and a background image on the same element with CSS3
Use this CSS code to use gradient and a background image on the same element. CSS code: #id, .class{ background: url([IMAGE URL]), -webkit-gradient(linear, left bottom, left top, color-stop(0,...
View ArticleHTML 4.01 and XHTML 1.0 (re)set stylesheet
This CSS stylesheet sets default values for HTML 4.01 and XHTML 1.0 tags. CSS code: @charset "utf-8"; /* BEGIN CSS RESET */ html, body, a, abbr, acronym, address, b, big, blockquote, caption, cite,...
View ArticleHow to stop iPhone text enlargement with CSS
If you want to stop the iPhone to automatically enlarge the text on your website use the following CSS code: CSS code: body{ -webkit-text-size-adjust: none; }
View ArticleHTML5 (re)set stylesheet
This CSS stylesheet sets default values for HTML5 tags. CSS code: @charset "utf-8"; /* BEGIN HTML5 CSS RESET */ html, body, a, abbr, address, article, aside, audio b, blockquote, canvas, caption, cite,...
View ArticleHow to style HTML/XHTML input tag by type with CSS
Use the below CSS code to edit the HTML/XHTML input tag by type. CSS code: input[type=button]{} input[type=checkbox]{} input[type=file]{} input[type=image]{} input[type=password]{} input[type=radio]{}...
View Article