letter spacing - Auto space a text each 4 characters by CSS? -
I want to ask if the text can be automatically converted into a form when you type through CSS.
Before : 513031421694 // After : 5130 3142 16 9
Vacancy / word-spacing), without success, and I can touch CSS only.
Unfortunately, at this time, the JS Solution can only format the formatting in all your element types the option.
There is a problem that will solve this problem, although no movement or mention has been made since 2008.
The proposed 2 new CSS rules @ decimal-format
and number-format
.
@ decimal-format value {group-separator: ","; decimal separator : "." } .price {number-format: "###, ## 0.00", "Price"; / * Price is really redundant because this format will default / /
then apply a simple class formatting.
& lt; Span class = "price" & gt; & Lt; 987654321 / Span & gt; Will appear as
987,654,321.00 USD
but this is the only one that has not been transferred since 2008.
Comments
Post a Comment