csslint Questions

6

Solved

In CSS Lint, they don't recommend using an id for selecting elements. I trust CSS Lint because it written by smart people who know CSS very good and in depth. But I want to know what are reas...
Tilley asked 10/11, 2011 at 18:35

3

Solved

One of CSS lint rules is: "It's better to not use IDs in selectors". So, what should we use instead of IDs to point to a unique element? For example, say I have dozens of elements that ha...
Eyeless asked 14/2, 2018 at 21:9

4

Solved

I'm working with a CSS file that uses Mozilla's -moz-element(#element) directive for a background-image. The code looks like: #foo {background-image: -moz-element(#element);} When I run this thro...
Leverhulme asked 25/3, 2015 at 6:22

4

Solved

I'm using the CSSLint extension for Brackets. Is there a way to disable specific warnings for things like box-model and @bulletproof-font-face? The best match I've found for a discussion is here. A...
Aubrette asked 4/10, 2014 at 2:42

1

Solved

I'm using Sublime Text 3, and CSS Linter. In my settings I've put the ignore rule, and currently there is only the "outline-none" rule, I'd like to include all the rules which refer to IE6 and IE...
Honour asked 13/5, 2015 at 13:12

2

I am using CSSLint for the first time and trying it now. When I write following CSS .div { box-sizing: border-box; border: 1px solid red; padding: 5px; width: 100px; } Then when I run Warnin...
Hiram asked 28/3, 2014 at 9:7

2

Solved

http://jsfiddle.net/nicktheandroid/k93ZK/2/ This should be really simple, I just don't understand why it's not working. When hovering over the :before it should change it's opacity to 1, but it doe...
Hinder asked 30/7, 2011 at 16:3

1

Solved

I'm new with Grunt - csslint plugin, after I run and cssLint task complete, there are many and many errors and warnings that I can't follow. So how to config task just print out the errors, not war...
Perl asked 26/11, 2013 at 2:2

1

jsHint and cssLint can output their results in to standard xml (sjlint.xml and csslint.xml format) file. Is there a way to display those results with sonar? What I'm trying to do is to run a jenk...
Impost asked 31/12, 2012 at 13:56

1

Solved

I'm new to Ubuntu, I'll be the first to admit that, but I need to integrate csslint into a CI build script and I found the about page on the csslint site unhelpful. It gave me two options for insta...
Pinko asked 5/11, 2012 at 14:44

3

Solved

I've used CSSLint for my stylesheets and I get one warning that I don't understand. Consider this CSS Code: div { width: 50px; height: 50px; border: 1px solid; } CSSLint says the following: ...
Pronounced asked 21/7, 2011 at 13:0

2

Solved

I am writing the CSS for our website and I just ran it through CSS Lint. I'm struggling making sense of quite a few of the warnings so would greatly the community's assistance. Don't use IDs in se...
Naevus asked 4/7, 2011 at 7:21
1

© 2022 - 2024 — McMap. All rights reserved.