Version 0.8.3- Update: New "Style Actions" action.
This version introduces a new action that allows you to filter and apply actions on styles. It works whether the style is an CSS sheet, in style tag or an inline tag. It Allows you to apply the current actions on styles:
- Style arithmetic: Allows you to do mathematical operations on styles.
- Convert: Allows you to convert dimensions e.g. from pt to px. Only supports absolute dimensions.
- Delete properties.
Attached below are two example chains:
- Round dimensions to an increment: This chain uses the style arithmetic to round all margin, padding and text-indent properties to an increment of 5.
- Delete default properties: This chain will delete all properties that have a value that is equal to the default value. e.g. margin-top: 0 ... etc.