LHJ

I'm a FE developer.

flexBox overflow

03 Dec 2020 » css

flexBox overflow IE10까지 크로스브라우징

<a href="#" style="display: flex">
    <div style="overflow:hidden;flex: 1 1 auto;align-self: center">
        <div style="display: flex">
            <em style="display: block;flex: 0 1 auto;overflow: hidden;text-overflow: ellipsis;white-space: nowrap"></em>
            <em style="display: block;flex: 0 0 auto"></em>
        </div>
    </div>
    <span style="flex: 0 0 auto">
        
    </span>
</a>