Search code examples
htmlcsshtml5-kickstart

HTML KickStart - restore default style for input fields


The HTML KickStart framework has a nice default theme. However, I would like to restore the default style for input fields. How do I go about this by overwriting the KickStart theme?

HTML5 Kickstart: http://www.99lime.com/


Solution

  • Open kickstart-forms.css find CSS properties assigned for input elements and then rewrite it.

    you must change :

    input { }
    input:focus { }
    input[type="text"] { }
    input[type="text"]:focus { }
    input[type="password"] { }
    input[type="password"]:focus { }
    

    and every input that you don't like ;)

    To restore browser default styles comment out CSS properties for input elements e.g.

    /* This is a comment in CSS
    input { }
    input:focus { }
    input[type="text"] { }
    input[type="text"]:focus { }
    input[type="password"] { }
    input[type="password"]:focus { }
    */
    

    or just delete aformentioned styles.