CSS team member Rachel Andrews mentioned in a video conference that Sass is compatible with the new CSS grid specification. Does anyone know the syntax for dividing "ASCII-art" into template-template areas for Sass? Since then, I checked the Sass documentation and have not found anything (yet). The errors that I get are related. Rate any pointers in the community. If not, go back to .css until then (: Thank you ...
.wrapper grid-template-areas: header nav image lead cta //errors occur here with ASCII art grid areas for CSS grid .header-area grid-area: header .nav-area grid-area: nav .image grid-area: image .lead grid-area: lead .cta grid-area: cta
You must provide quotes for grid templates. Each line represents one line:
grid-template-areas: "header header" "main sidebar" "footer footer"
full working demo here
edit , , - Sass. (). :
.grid display: grid grid-template-areas: "header header" "main sidebar" "footer footer" grid-gap: 1em
- . SCSS ( ), .
sass css, . , . , ( sass) / "grid-template-area". . , diff , sass . "grid-template-areas" .
Source: https://habr.com/ru/post/1672942/More articles:Stackexchange.Redis timeout exception in .net-core - c #.Exists Always False Dictionary - vbahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1672939/how-to-apply-security-updates-to-net-core-projects&usg=ALkJrhglAhFDH_9X2OeeKbAXseRFYAF2tgjq reformatting decimals in scientific notation - can this be avoided? - jsonWrap a text box around a div - htmlTypescript: implicit type `this` for class methods - typescriptPHP - Google Maps API Search returns ZERO_RESULTS, but Navigator shows it - phpFiddler does not see API calls from C # HttpClient () - c #Warning when using file_get_contents for google api - phpEntry point for bokeh server - pythonAll Articles