css_input_with_import.css

Same filename in this branch
  1. 11.x core/tests/Drupal/Tests/Core/Asset/css_test_files/css_subfolder/css_input_with_import.css
Same filename in other branches
  1. 7.x modules/simpletest/files/css_test_files/css_input_with_import.css
  2. 7.x modules/simpletest/files/css_test_files/css_subfolder/css_input_with_import.css
  3. 9 core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_with_import.css
  4. 9 core/tests/Drupal/Tests/Core/Asset/css_test_files/css_subfolder/css_input_with_import.css
  5. 8.9.x core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_with_import.css
  6. 8.9.x core/tests/Drupal/Tests/Core/Asset/css_test_files/css_subfolder/css_input_with_import.css
  7. 10 core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_with_import.css
  8. 10 core/tests/Drupal/Tests/Core/Asset/css_test_files/css_subfolder/css_input_with_import.css

@import 'import1.css';
@import "import2.css";
@import url('import1.css');
@import url("https://fonts.fontprovider.com/css2?family=Roboto+Mono:wght@300;400&family=Roboto:ital,wght@0,300;0,400;1,300;1,400&display=swap") print;
@import url(import1.css);
@import url('import1.css') screen;
@import url("http://example.com/style.css");
@import url("//example.com/style.css");
@import url("https://fonts.fontprovider.com/css2?family=Roboto+Mono:wght@300;400&family=Roboto:ital,wght@0,300;0,400;1,300;1,400&display=swap");
@import url("http://example.com/style.css") screen and (orientation:landscape);
@import "http://example.com/style.css" screen;
@import "http://example.com/style.css" supports(display: table-cell);
@import "http://example.com/style.css" supports(display: table-cell) screen;
@import url("http://example.com/style.css") screen and (orientation:landscape);
@import url("http://example.com/style.css") screen;
@import url("http://user:pass@example.com/style.css") screen and (orientation:landscape);
@import url(http://example.com/cus\(t;om.css);
@import url('http://example.com/cu(st;o)m.css');
@import url("http://user:pass@example.com/cu(s)t;om.css");
@import url(http://user:pass@example.com/cu\(s\)t;om.css);

body {
  margin: 0;
  padding: 0;
  background: #edf5fa;
  font: 76%/170% Verdana, sans-serif;
  color: #494949;
}

.this .is .a .test {
  font: 1em/100% Verdana, sans-serif;
  color: #494949;
}
.this
.is
.a
.test {
font: 1em/100% Verdana, sans-serif;
color: #494949;
}

textarea, select {
  font: 1em/160% Verdana, sans-serif;
  color: #494949;
}

File

core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_with_import.css

View source
  1. @import 'import1.css';
  2. @import "import2.css";
  3. @import url('import1.css');
  4. @import url("https://fonts.fontprovider.com/css2?family=Roboto+Mono:wght@300;400&family=Roboto:ital,wght@0,300;0,400;1,300;1,400&display=swap") print;
  5. @import url(import1.css);
  6. @import url('import1.css') screen;
  7. @import url("http://example.com/style.css");
  8. @import url("//example.com/style.css");
  9. @import url("https://fonts.fontprovider.com/css2?family=Roboto+Mono:wght@300;400&family=Roboto:ital,wght@0,300;0,400;1,300;1,400&display=swap");
  10. @import url("http://example.com/style.css") screen and (orientation:landscape);
  11. @import "http://example.com/style.css" screen;
  12. @import "http://example.com/style.css" supports(display: table-cell);
  13. @import "http://example.com/style.css" supports(display: table-cell) screen;
  14. @import url("http://example.com/style.css") screen and (orientation:landscape);
  15. @import url("http://example.com/style.css") screen;
  16. @import url("http://user:pass@example.com/style.css") screen and (orientation:landscape);
  17. @import url(http://example.com/cus\(t;om.css);
  18. @import url('http://example.com/cu(st;o)m.css');
  19. @import url("http://user:pass@example.com/cu(s)t;om.css");
  20. @import url(http://user:pass@example.com/cu\(s\)t;om.css);
  21. body {
  22. margin: 0;
  23. padding: 0;
  24. background: #edf5fa;
  25. font: 76%/170% Verdana, sans-serif;
  26. color: #494949;
  27. }
  28. .this .is .a .test {
  29. font: 1em/100% Verdana, sans-serif;
  30. color: #494949;
  31. }
  32. .this
  33. .is
  34. .a
  35. .test {
  36. font: 1em/100% Verdana, sans-serif;
  37. color: #494949;
  38. }
  39. textarea, select {
  40. font: 1em/160% Verdana, sans-serif;
  41. color: #494949;
  42. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.