T
T
Timofey Mikhailov2018-05-11 10:46:52
css
Timofey Mikhailov, 2018-05-11 10:46:52

A little not beautiful display on narrow screens?

In general, I have a simple question ...
Here is the page --> https://jsfiddle.net/yvnmuoza/
I use Bootstrap 4.
I am not satisfied with the fact that with a small width, the title of the book "Anna Karenina" does not fit, and " Karenina" goes down ... and "Anna" remains in place ...
I don't understand how to make the text "Anna Karenina" move immediately down, under the picture ...
Tell me ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Antonov, 2018-05-11
@JimmiJanger

Write the h2 header property display: inline-block

h2{
   display: inline-block;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question