Fix the height of the block?

Guys, sit blunt. The gray block is a fixed height, how to make red block out of text, and not on gray block ? Since text can be any number, top indent to do for the red block is not an option.
June 8th 19 at 16:35
1 answer
June 8th 19 at 16:37
The simplest solution using the pseudo-element

Find more questions by tags CSS