css_input_with_import.css

Same filename in this branch
  1. 8.9.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. 10 core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_with_import.css
  6. 10 core/tests/Drupal/Tests/Core/Asset/css_test_files/css_subfolder/css_input_with_import.css
  7. 11.x core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_with_import.css
  8. 11.x core/tests/Drupal/Tests/Core/Asset/css_test_files/css_subfolder/css_input_with_import.css

@import "import1.css";
@import "import2.css";
@import url("http://example.com/style.css");
@import url("//example.com/style.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("http://example.com/style.css");
  4. @import url("//example.com/style.css");
  5. body {
  6. margin: 0;
  7. padding: 0;
  8. background: #edf5fa;
  9. font: 76%/170% Verdana, sans-serif;
  10. color: #494949;
  11. }
  12. .this .is .a .test {
  13. font: 1em/100% Verdana, sans-serif;
  14. color: #494949;
  15. }
  16. .this
  17. .is
  18. .a
  19. .test {
  20. font: 1em/100% Verdana, sans-serif;
  21. color: #494949;
  22. }
  23. textarea, select {
  24. font: 1em/160% Verdana, sans-serif;
  25. color: #494949;
  26. }

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