How to disable materialize input

1

I realize that with the Framework materialize as soon as I put an input it already stylizes by type. But I do not want to use the stylization for the input, how to disable it?

    
asked by anonymous 06.12.2016 / 04:07

1 answer

1

I do not think there is a way to disable a property in your file.

What I recommend is:

  • If you imported the stylesheet for your project, look for the input tag and remove all styling;

  • Create your stylesheet with your own stylisations, thus overriding those of materialize.

If you choose the second one, one of the ways to get these stylizations previously set in the css is:

input {
  all: initial;
}

or, depending on what you want

input {
  all: unset;
}

The problem with this solution is that it is not very well accepted in all browsers, yet.

You can find more references about all in: link

    
06.12.2016 / 04:54