View Single Post
Old 08-29-2024, 02:56 PM   #9
nabsltd
Fanatic
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 527
Karma: 9529956
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
I'd like the CSS mend/pretty to have an option to convert all measures that are effectively zero to 0;

In other words:
Code:
.someclass {
  margin-left: 0em;
  margin-right: 0px;
  margin-top: 0.0em;
  margin-bottom: 0;
}
would become:
Code:
.someclass {
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
}
This way, I can search and replace more easily. There's no good regex that covers all the ways to declare a measurement in CSS.
nabsltd is offline   Reply With Quote