All-Encompassing Trip

Hi, I’m Guillermo. This is my Tumblr. Here’s my photoblog. I'm a web developer, so if you’re interested in my work you should check out my website and my blog. You should also follow me on Twitter.

Style search inputs in Safari

HTML5 search inputs work & look great in Safari, but by default they’re impervious to CSS. If you want to style them, use this rule in your stylesheet to force Safari to treat them like a regular text field:

input[type="search"] {
  -webkit-appearance: textfield;
}

(Tip of the hat to Mark Pilgrim.)