Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 929B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # function-url-no-scheme-relative
  2. Disallow scheme-relative urls.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { background-image: url('//www.google.com/file.jpg'); }
  6. /** ↑
  7. * This scheme-relative url */
  8. ```
  9. A [scheme-relative url](https://url.spec.whatwg.org/#syntax-url-scheme-relative) is a url that begins with `//` followed by a host.
  10. This rule ignores url arguments that are variables (`$sass`, `@less`, `--custom-property`).
  11. ## Options
  12. ### `true`
  13. The following patterns are considered violations:
  14. <!-- prettier-ignore -->
  15. ```css
  16. a {
  17. background: url("//www.google.com/file.jpg");
  18. }
  19. ```
  20. The following patterns are _not_ considered violations:
  21. <!-- prettier-ignore -->
  22. ```css
  23. a {
  24. background: url("../file.jpg");
  25. }
  26. ```
  27. <!-- prettier-ignore -->
  28. ```css
  29. a {
  30. background: url("http://www.google.com/file.jpg");
  31. }
  32. ```
  33. <!-- prettier-ignore -->
  34. ```css
  35. a {
  36. background: url("/path/to/file.jpg");
  37. }
  38. ```