CSS RESET

Lord Analytics
Jul 31, 2023

--

A CSS Reset is a set of rules or a short, often compressed(minified) set of CSS rules that resets the styling of all HTML elements to a consistent baseline.

Why use a CSS Reset?

All browsers have presentation defaults, but no two browsers have the same defaults.

From the consistent base that you’ve set up via your reset, you can re-style your document, safe in the knowledge that the browser’s differences in their default rendering of HTML will not affect what you are doing. It’s like starting from a fresh, clean slate.

syntax:

This is universal selector reset:

* {

margin: 0;

padding: 0;

box-sizzing: border-box;

border: 0;

vertical-align:baseline;

background: transparent;

font-size: 100%;

}

Support:

for any queries, contact: vikashanand04@gmail.com

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Lord Analytics
Lord Analytics

Written by Lord Analytics

0 Followers

Adventures, Movies, Technology and Analytics

No responses yet

Write a response