If you use HAML on Ruby on Rails, then
:sass #someDiv border: 3px dashed orange
will not have a <style> around them.
and then
:css :sass #someDiv border: 3px dashed orange
will not use filter :sass , but
:css :sass #someDiv border: 3px dashed orange
will be used for filter :sass , but it is outside the <style> . So how to use filter :sass ? We can manually wrap <style> around it, but it is not often used that we want to generate css from sass, but not inside the <style> in the HAML file.
ruby-on-rails sass haml
åĪŠæĨĩ č
įĄæĨĩ č į
source share