L
L
lavezzi12018-02-08 14:38:05
css
lavezzi1, 2018-02-08 14:38:05

Why is the text not being cut off?

Hello. There is such a title of the article, it is necessary with insufficient width. If we remove the flex property from .box, everything works. I understand that you need to assign something to the meta element?
https://jsfiddle.net/ayeqrb1e/

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Petya Persianov, 2018-02-08
@lavezzi1

overflow: hidden;
must be on the element that is to overlap.

A
Alex, 2018-02-08
@streetflush

Your box__title is text-sized.

.box__meta {
    overflow: hidden;
}

A
aloky, 2018-02-08
@aloky

https://jsfiddle.net/ayeqrb1e/2/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question