All posts tagged html5

On codrops : Login and Registration Form with HTML5 and CSS3

HTML5-CSS3form_codrops

With the CSS3 pseudo class :target  you can change CSS based on a targeted link < a href = “#mylink” > . I used the property to with some transitions to create a double login/scubscribe CSS3 HTML5 form. Both forms are in the HTML, the second is hidden until the users clicks a link that will target the second one. This used to be done in JavaScript but with CSS3 you can easily create the same effect in pure CSS3. … Continue reading

HTML5 search form for wordpress

html5searchform

A week ago the excellent smashingmagazine posted about using hmt5 to improve twenty-ten theme. The article explained how to add html5 placeholder features to the comments form. This gave me the idea to also improve the worpdress search form, using html5 placeholders and the “search” attribut (only supported in opera for the moment). Here is the code to copy paste in functions.php