I try to save the selector in SASS for a simpler reference later, however I get a syntax error.
Here is what I am trying to do:
$icon: [class*="icon"];
You need to convert it to a string if you want to use it as a variable:
$icon: '[class*="icon"]'; #{$icon} { // stuff }
Source: https://habr.com/ru/post/951209/More articles:How to add JCheckBox to JTable? - javahttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/951205/how-to-use-sass-to-parse-a-list-of-all-css-selectors-in-an-scss-file&usg=ALkJrhj1vdrIAS0zahNIssXIEHtQkLADtAmargin-left and margin-right to adjust the center position - htmlC # timer stops after a certain number of ticks automatically - c #Initializing StringBuilder in Java - javaPlay framework WS set cookie - httpIE, CSS: how to remove the selection that appears when the button is clicked - htmlBuild Standalone ASP.Net Web Application - web-applicationsWhat does command A (~ A) really do in matlab - matlabWhy am I getting an unexpected operator error in the w bash equality test? - bashAll Articles