I am currently working on developing an alternative design for a website as a backup plan. Unfortunately, I am restricted in terms of changing the architecture of the system. The main stylesheet is loaded first, followed by a second one which I have control over. My main challenge lies in resetting certain aspects of the CSS, especially the styling of form elements.
Despite my efforts, I am facing difficulties in achieving this. Take for example a <button>
:
background: rgb(88,222,255);
border-radius: 4px;
border: 1px solid #91d7eb;
box-shadow: 0px 2px 4px 0px rgba(1, 75, 138, .8);
color: #FFF;
cursor: pointer;
font-family: "Graphic-Font";
font-size: 25px;
font-weight: bold;
text-shadow: 0px 1px 3px #014b8a;
padding: 10px 40px;
Although I attempt to set background: none
, border-radius: none
and so forth, the button ends up losing its style altogether instead of reverting to the default browser style. My goal is to restore the form elements to their default browser styling, along with other elements on the page. However, I am struggling to remove the styling from at least the form elements.
To clarify, simplifying the question: How can one reset the styling of a <button>
to its default state?