If using HAML on Ruby on Rails, then
:sass
#someDiv
border: 3px dashed orange
won't have any <style>
tag around them.
and then
:css
:sass
#someDiv
border: 3px dashed orange
won't kick on the :sass
filter, but
:css
:sass
#someDiv
border: 3px dashed orange
will kick on the :sass
filter, but it is outside of the <style>
tag. So how can the :sass
filter be used? We can manually wrap <style>
around it, but it is not common use that we want to generate css from sass but not inside <style>
tag in an HAML file.