You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*font-size: 16px; //fallback
/* 100 = viewport width, as 1vw = 1/100th of that So if the container is 50% of viewport (as here) then factor that into how you want it to size. Let's say you like 5vw if it were the whole width, then for this container, size it at 2.5vw (5 * .5 [i.e. 50%]) */
font-size: 2.5vw;
* .ellipsis {
text-overflow: ellipsis;
/* Required for text-overflow to do anything */white-space: nowrap;
overflow: hidden;
}
manage display, set with css
if the element's display is being inherited or being specified by a CSS rule, you'll need to get its computed style:
return getComputedStyle(element, null).display;