export const Wrapper = styled.div`
display: flex;
width: 200px;
`;
export const Flex1Div = styled.div`
flex: 1;
`;
export const Content = styled.div<{ shape?: GoalChildWidgetTypes }>`
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
& > * {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
`;
<Wrapper>
<Flex1Div>
<Content>
---------------------------------------------------------------------------------------------------------
</Content>
</Flex1Div>
</Wrapper>
'✘✘✘ Web > CSS' 카테고리의 다른 글
[css] not selector (0) | 2023.05.04 |
---|---|
[CSS] Disabling text selection => user-select property (0) | 2022.07.10 |
[css][filter] blur (0) | 2022.07.09 |
CSS selector with data attribute (0) | 2022.07.04 |
@page: how to change size of page when printing, A4, portrait, landscape (0) | 2022.07.02 |
댓글