postcss-autosize

A PostCSS plugin that generates images's CSS width & height properties from stylesheets automatically.

Usage no npm install needed!

<script type="module">
  import postcssAutosize from 'https://cdn.skypack.dev/postcss-autosize';
</script>

README

postcss-autosize

A PostCSS plugin that generates images's CSS width & height properties from stylesheets automatically.