From ac26b766abc79fedb525d73c4d40b7999e362400 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Wed, 1 Nov 2017 09:33:10 -0400 Subject: [PATCH] Remove Less-style comments from CSS file example in installation docs If someone copies and pastes that example into a plain CSS file, the comments will break things in annoying and unexpected ways. Better to use plain CSS comments. --- docs/source/docs/installation.blade.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/source/docs/installation.blade.md b/docs/source/docs/installation.blade.md index 9a9584e31e16..7894cfeba8ee 100644 --- a/docs/source/docs/installation.blade.md +++ b/docs/source/docs/installation.blade.md @@ -50,9 +50,10 @@ To avoid specificity issues, we highly recommend structuring your main styleshee * Here you would import any custom component classes; stuff that you'd * want loaded *before* the utilities so that the utilities can still * override them. + * + * @@import "my-components/foo"; + * @@import "my-components/bar"; */ -// @@import "my-components/foo"; -// @@import "my-components/bar"; /** * This injects all of Tailwind's utility classes, generated based on your @@ -61,11 +62,12 @@ To avoid specificity issues, we highly recommend structuring your main styleshee @@tailwind utilities; /** - * Here you would add any custom utilities you need that don't come out of the box with Tailwind. + * Here you would add any custom utilities you need that don't come out of the + * box with Tailwind. + * + * @@import "my-utilities/background-images"; + * @@import "my-utilities/skew-transforms"; */ -// .bg-hero-image { -// background-image: url('/some/image/file.png'); -// } ``` ## 4. Process your CSS with Tailwind