07.10.2020, 12:29
(07.10.2020, 09:26)admin Wrote: Use value-left class. In this case the value element must have a fixed width (50px in this example), otherwise if the text width changes the icon position will change as well.Splendid!
Code:.value-left .icon { display: inline-block; } .value-left .value { line-height: 56px; padding: 0; float: left; width: 50px; text-align: center; }
There are 10 kinds of people in the world; those who can read binary and those who don't