Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Lab for tests: Reliable Ant-Design (antd 3.x, 4.x) CSS with all rules prefixed ("namespaced")

Notifications You must be signed in to change notification settings

jeffdrumgod/Namespaced-CSS-generator-for-Ant-Design

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reliable Ant-Design (antd 3.x, 4.x) CSS with all rules prefixed ("namespaced")

Click here to see an example with problems caused by not overwriting CSS rules.
And after, click here to see an example with fixed bugs.

Note: The Twitter Bootstrap, in these examples, can affect items of Ant.Design, but in reverse case, not. It's good when we want to use Ant.design in another project already in production.

Example image


Thanks to @sbusch for start this method, and to @dbtedman for making this possible with his fine PostCSS postcss-prefixwrap plugin.


This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).

About

Lab for tests: Reliable Ant-Design (antd 3.x, 4.x) CSS with all rules prefixed ("namespaced")

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published