Например:
Код: Выделить всё
br {
position:relative;
display: block;
border: 1px dotted green;
font-size: 8px;
line-height: 8px;
height: 8px;
background: yellow;
color: blue;
content: "A";
width: 5px;
}Код: Выделить всё
some
text with
linebreaks.
The intended result
is to style the linbreak
right after the sentence.
Результат этого фрагмента кода почти достигает того, что я m ищет, но визуальное представление разрыва строки позиционируется на следующей строке.
Предполагаемый результат:
Код: Выделить всё
some"linebreak visual representation"
text with"linebreak visual representation"
linebreaks"linebreak visual representation"
The intended result"linebreak visual representation"
is to style the linebreak.."linebreak visual representation"
Подробнее здесь: https://stackoverflow.com/questions/402 ... h-the-text
Мобильная версия