Find CSS Attributes


/ Published in: Regular Expression
Save to your folder(s)

This finds individual CSS attributes, i.e. "foo : bar;" or "bar : 2px solid foo;"


Copy this code and paste it in your HTML
  1. ^\s*[a-zA-Z\-]+\s*[:]{1}\s[a-zA-Z0-9\s.#]+[;]{1}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.