Skip to content

Remove unnecessary CSS and class names #11

@stevenvachon

Description

@stevenvachon

Before:

<head>
<style>
body{color:silver}
.class1{color:red}
.class1:hover{color:blue !important}
.class2{color:purple}
</style>
</head>

<body>
<a class="class1"></a>
<a class="class2"></a>
</body>

After:

<head>
<style>
.class1:hover{color:blue !important}
</style>
</head>

<body style="color:silver">
<a class="class1" style="color:red"></a>
<a style="color:purple"></a>
</body>

styliner does this, and juice sort of does.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions