Inline Style Aggregation
2 sites
Security covered
This module consolidates multiple `<style>` tags found in the body of a page into a single `<style>` tag within the page's `<head>`. This helps to keep CSS organized and reduce the number of inline style blocks.
This module provides grouping of styles in a single tag within the page header.
For example, if you have several style tags within the body. They will be grouped into a single tag inside the head.
Before:
html
head
...
body
div
..
...
style
.style_1{ padding: 1px; }
div
div
style
.style_2{ padding: 2px; }
style
.style_3{ padding: 3px; }
p
Lorem...
div
...
style
.style_4{ padding: 4px; }After:
html
head
...
style
.style_1{ padding: 1px; }
.style_2{ padding: 2px; }
.style_3{ padding: 3px; }
.style_4{ padding: 4px; }
body
div
..
...
div
div
p
Lorem...
div
...
Donation Support
This project took significant time to develop. If it has helped you save time in your work or business, feel free to contribute any amount you consider fair to support its continued development