rules.scsslint.UrlFormat.html Maven / Gradle / Ivy
Details
URLs should be valid and not contain protocols or domain names.
Including protocols or domains in URLs makes them brittle to change, and also
unnecessarily increases the size of your CSS documents, reducing performance.
Bad: protocol and domain present
background: url('https://example.com/assets/image.png');
Good
background: url('assets/image.png');