Back to Unocss

@unocss/reset/tailwind-compat.css

packages-presets/reset/tailwind-compat.md

66.6.8864 B
Original Source

@unocss/reset/tailwind-compat.css

Based on tailwind.css, with some styles clean up to avoid conflicts with UI frameworks.

Changes

Changes inherit from tailwind.css

Remove background color override for buttons

Linked issue: #2127

<table> <thead> <tr style="text-align: center"> <th>Before</th> <th>After</th> </tr> </thead> <tbody> <tr> <td>
css
button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}
</td> <td>
css
button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button; /* 1 */
  /*background-color: transparent; !* 2 *!*/
  background-image: none; /* 2 */
}
</td> </tr> </tbody> </table>