)Hi, guys
I just was mading Phone dial page
I saw very weird thing in safari. Chrome or other browser works wellll...
just run this code with each browsers ( https://codepen.io/Jinxooh/pen/bodRdB )
code
// css
.l {
text-align: left;
direction: rtl;
}
.r {
text-align: right;
}
p {
width: 150px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
border: solid 1px green;
}
// html
<p class="l">111222333444555666777888999</p>
<p class="r">111222333444555666777888999</p>
Do you guys have a solution?
I already knew this (https://hugogiraudel.com/2014/12/16/css-riddle-reverse-ellipsis/)
it works but hide 2 more numbers
ex >
above link result : 1234567 -> 12345678 overflow result ...345678
happy result I want: 1234567 -> 12345678 overflow result ...2345678