CSS selector minification is a missed opportunity of saved bytes. Currently, Google uses it but not much beyond that.
The concept is change .box to .b and <div class="box"> to <div class="b">.
There is room for issues with JavaScript so that should be treated as a nice-to-have and be conservatively avoided.
To convert HTML and CSS, it would be a 2 step process: