css_input_without_import.css

Same filename in other branches
  1. 7.x modules/simpletest/files/css_test_files/css_input_without_import.css
  2. 9 core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_without_import.css
  3. 8.9.x core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_without_import.css
  4. 10 core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_without_import.css

Basic css that does not use import

File

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

View source
  1. /**
  2. * @file Basic css that does not use import
  3. */
  4. body {
  5. margin: 0;
  6. padding: 0;
  7. background: #edf5fa;
  8. font: 76%/170% Verdana, sans-serif;
  9. color: #494949;
  10. }
  11. .this .is .a .test {
  12. font: 1em/100% Verdana, sans-serif;
  13. color: #494949;
  14. }
  15. /**
  16. * CSS spec says that all whitespace is valid whitespace, so this selector
  17. * should be just as good as the one above.
  18. */
  19. .this
  20. .is
  21. .a
  22. .test {
  23. font: 1em/100% Verdana, sans-serif;
  24. color: #494949;
  25. }
  26. some :pseudo .thing {
  27. border-radius: 3px;
  28. }
  29. ::-moz-selection {
  30. background: #000;
  31. color:#fff;
  32. }
  33. ::selection {
  34. background: #000;
  35. color: #fff;
  36. }
  37. @media print {
  38. * {
  39. background: #000 !important;
  40. color: #fff !important;
  41. }
  42. @page {
  43. margin: 0.5cm;
  44. }
  45. }
  46. @media screen and (max-device-width: 480px) {
  47. background: #000;
  48. color: #fff;
  49. }
  50. textarea, select {
  51. font: 1em/160% Verdana, sans-serif;
  52. color: #494949;
  53. }

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