Skip to content

Instantly share code, notes, and snippets.

View KingNoosh's full-sized avatar
🦍
Gettin' stuff done

Anosh Malik KingNoosh

🦍
Gettin' stuff done
View GitHub Profile
<!-- Google -->
<meta name="description" content=""> <!-- Fill content with a description which will show in search results -->
<meta name="keywords" content=""> <!-- Fill content with search terms -->
<meta name="author" content=""> <!-- Fill content with your name -->
<meta name="copyright" content="">
<meta name="application-name" content="Personal Website">
<!-- Facebook / LinkedIn-->
<meta property="og:title" content=""/> <!-- Fill content with the title which will show in bold when shared in messenger / news feed -->
<meta property="og:type" content="article"/>
@alekseykulikov
alekseykulikov / index.md
Last active April 14, 2024 00:32
Principles we use to write CSS for modern browsers

Recently CSS has got a lot of negativity. But I would like to defend it and show, that with good naming convention CSS works pretty well.

My 3 developers team has just developed React.js application with 7668 lines of CSS (and just 2 !important). During one year of development we had 0 issues with CSS. No refactoring typos, no style leaks, no performance problems, possibly, it is the most stable part of our application.

Here are main principles we use to write CSS for modern (IE11+) browsers:

//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Created: 2010/12/05
// Updated: 2018/09/12
// License: MIT
//
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it)
//