You can use CSSPool for: Eliminating duplicate rules. Searching for rules. Adding or modifying rules and properties. require 'csspool' sac = CSS::SAC::Parser.new doc = sac.parse(DATA.read) doc.rules.each do |rule| puts rule.selector.to_css rule.properties.each do |property| p property end end __END__ h1 { background: red; }
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}