Comments (3)
mincss doesn't look at the keys. Only the selectors. If it was:
.login{
foo:bar;
}
mincss
wouldn't treat it any differently.
Are you sure it really gets deleted, and that it's in the HTML?
from mincss.
Can you elaborate? If the CSS framework I am using has foo:bar; and my custom CSS file has foo:bar too it would delete only one of them right? I am using the Marx CSS framework.
from mincss.
What I'm poorly trying to explain is that it doesn't matter what's between the {
and the }
. There is only one exception to that rule; if you have something like this:
.someselector {
/* no mincss */
xxxxxxxxxxxxxxx
xxxxxxxxxxxxxxx
xxxxxxxxxxxxxxx
}
then it would leave that selector untouched even though there is no <element class="someselector">
anywhere in your HTML.
from mincss.
Related Issues (20)
- AttributeError: 'LinkResult' object has no attribute 'url' HOT 1
- Command line interface HOT 2
- 404 Download Error for ./style.css HOT 2
- The download.js file is not installed via pip. HOT 1
- help installing HOT 3
- mincss gets confused by relative URLs HOT 1
- AssertionError with @-ms-viewport inside @media HOT 3
- Setup issue HOT 3
- UnicodeEncodeError HOT 6
- Mincss does not crawl links HOT 2
- Does it work on a sample of several pages ? HOT 1
- mincss fails to fetch CSS resources referenced via data:text/css @import
- Save css-rules added to html-dom from javascript (like addClass() jquery function) HOT 1
- Duplicate @media queries trigger an AssertionError HOT 3
- Remove unused @font-face HOT 9
- Split on : better
- mincss crashes when stylesheet links have query strings HOT 1
- Allow file & stdin as input
- Does not like an address like this one https://urzhumov.ru/wp-content/themes/ustudio/css/style.css?v=3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mincss.