1
0
mirror of https://github.com/Chalarangelo/mini.css.git synced 2025-08-24 14:33:10 +02:00

Hardcoded button testing

This commit is contained in:
Angelos Chalaris
2016-10-23 10:02:52 +03:00
parent 5eda91c45a
commit 3200d67830
5 changed files with 59 additions and 6 deletions

View File

@@ -175,3 +175,5 @@
- Removed generic styling reset for `button`, `input`, `optgroup`, `select` and `textarea` based on the fact that the styles are already applied in the first rule `html, *`.
- Split some fixes into generic and button-specific.
- Moved `::-webkit-file-upload-button` fixes to the `button` module.
- Proof-of-concept for `button` module defaults and core, file input is not styled yet (will be done via label hack).
- *TODO* Softcode the `button` module's defaults, add extra styles, classes etc.

View File

@@ -255,11 +255,14 @@
<br>
<h3>Buttons</h3>
<p>Buttons are already pre-styled in <strong>mini.css</strong> to allow for consistent presentation. However, there is a lot you can do to customize them, as the pre-applied styles are mostly overrides for the default presentation styles. Pre-styled buttons and other button-like inputs can be seen below:</p>
<button>Normal button</button><br>
<input type="button" value="Input button"><br>
<input type="submit" value="Submit button"><br>
<input type="reset" value="Reset button"><br>
<span style="margin:3px;"></span>
<button>Normal button</button>
<input type="button" value="Input button">
<input type="submit" value="Submit button">
<input type="reset" value="Reset button">
<button disabled>Disabled button</button><br>
<input type="file" value="File button"><br>
</div>
</div>
</div>