View Single Post
Old 12-26-2022, 09:07 AM   #15
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,106
Karma: 1954138
Join Date: Aug 2015
Device: Kindle
Version 0.8.3

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:
  1. 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.
  2. 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.
Attached Files
File Type: zip round_css.zip (449 Bytes, 216 views)
File Type: zip delete_default_props.zip (1.4 KB, 195 views)
capink is offline   Reply With Quote