• Stars
    star
    113
  • Rank 310,115 (Top 7 %)
  • Language
    CSS
  • Created over 6 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🚿 Stop suffering and resetting styles for every new project. This is a library to reset default styles with some opinionated changes, that you might love (or not).

Wipe.css

It's a CSS library to reset default styles with some opinionated changes.

  • Reset block margins: from every elements;
  • Reset the headings and set a default font style on body;
  • Remove unncessary styles: such as: background repeat, list styles, etc;
  • Reset form fields: buttons and inputs looks the same now, in so any styles;
  • Prevent chrome autofill style: remove that yellow box on fields;
  • Border-box box sizing: so that borders and paddings don't affect the set dimensions;
  • Responsive media: images with right size;

Install

$ yarn add wipe.css

or

$ npm install wipe.css

How to Use

Pure HTML

<head>
  ...
  <link href="./wipe.css" rel="stylesheet" type="text/css" />
</head>

Pure CSS

@import 'wipe.css';

Styled Components

import wipeCSS from 'wipe.css'
import { createGlobalStyle } from 'styled-components'

export const GlobalStyle = createGlobalStyle`
  ${wipeCSS}
`

Based on:

sanitize.css

normalize.css

More Repositories

1

react-content-loader

⚪ SVG-Powered component to easily create skeleton loadings.
TypeScript
13,628
star
2

react-atomic-design

🔬 How the Atomic Design methodology can create a great design system from scratch and make better developers.
JavaScript
1,771
star
3

create-content-loader

✏️ Tool to create your own react-content-loader easily.
JavaScript
1,224
star
4

coverify

🎧 Web tool that creates album artworks for Spotify playlists, where different fonts, colors, and a ton of images can be applied.
TypeScript
222
star
5

spatial-keyboard-navigation

A visual hierarchy approach to navigate through selectable elements on a page.
TypeScript
221
star
6

I-don-t-know-how-to-name-my-function

🤔 Development can be more challenging than you think. It is not about algorithms or data structures, but about naming functions and variables!
TypeScript
75
star
7

gatsby-advanced-blog-system

📰 This repository is a demo from the article about how to build our own blog using Gatsby.
JavaScript
66
star
8

create-vue-content-loader

✏️ Tool to create your own content loader easily in Vue.
JavaScript
60
star
9

react-native-styl

💅 Micro-library that writes stylesheets with a non-opinionated approach, free of dependencies, and in the easiest way possible.
TypeScript
41
star
10

danilowoz.com

Astro
36
star
11

ts-gql-jsx

https://danilowoz.com/blog/generating-typescript-types-and-react-hooks-based-on-graphql-endpoint
TypeScript
27
star
12

sandpack-tsserver

Created with CodeSandbox
TypeScript
14
star
13

my-styled-component

💅 My own implementation of styled-components within 100 lines of code.
JavaScript
9
star
14

hype-todolist

🔦 A todo list using Redux, GraphQL, Apollo, Webpack and Postcss from scratch
JavaScript
5
star
15

ide-concept

Created with CodeSandbox
TypeScript
4
star
16

Vuesualizen

🎯 The Vuesualizen will be a Chrome Extension that helps you attract your life goals by automatically showing it to you every day as a new tab in the browser.
JavaScript
4
star
17

myzshrc

2
star
18

create-react-content-loader

HTML
2
star
19

JavaScript-Design-Patterns

HTML
2
star
20

barcode-playground

HTML
2
star
21

fileupload-react

Just another playground in React
JavaScript
2
star
22

reason-movie-app

Reason
2
star
23

talkey

My version of ReactJs
JavaScript
1
star
24

monorepo-semantic-release

TypeScript
1
star
25

github-block-examples

1
star
26

github-actions-for-packages

JavaScript
1
star