Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS Tricks’ Search bar

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25996
    mshort
    Member

    Hi Everyone,

    I was wondering if anyone could possibly shed some light on how the search bar on CSS Tricks was done? it looks awesome.

    Thanks :)

    #63279
    Norman
    Member

    its one background image, a transparent input and one input with the magnifier :)

    #63306

    To make things short I will just paste the code itself :P

    Here is the text input box

    Code:

    and its css

    Code:
    #cse-search-box #s, #cse-search-box #s[style], #s-forums {
    background:transparent none repeat scroll 0 0 !important;
    border:medium none !important;
    }

    Here is the search button input

    Code:

    and its css

    Code:
    #search-button, #search-button-f, #search-button-a {
    border:medium none;
    color:white;
    vertical-align:middle;
    }
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.