У меня есть всплывающее окно, которое отображается при просмотре. Как я сделал заголовок со следующим css:
.ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
}
который я добавляю/удаляю на основе щелчка, используя jQuery.
Но когда класс ellipsis
удален, заголовок просто" POPS" отображается.
Итак, мой вопрос: Можно ли облегчить переход от скрытого к не с jquery или css?
Пример кода того, что происходит здесь: https://jsfiddle.net/dzm50k39/4/