Skip to content

Commit 2ca0b10

Browse files
committed
Update css-practice.md
1 parent aad5a33 commit 2ca0b10

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

css-practice.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,20 @@ Pick ONE OR MORE options
10921092
4. None of the above
10931093
```
10941094

1095+
<details><summary><b>Answer</b></summary>
1096+
1097+
```css
1098+
.container {
1099+
white-space: nowrap;
1100+
overflow: hidden;
1101+
text-overflow: ellipsis;
1102+
}
1103+
```
1104+
1105+
**&#9885; [Try this example on CodeSandbox](https://codesandbox.io/s/css-ellipsis-xycj5r?file=/src/styles.css)**
1106+
1107+
</details>
1108+
10951109
<div align="right">
10961110
<b><a href="#">↥ back to top</a></b>
10971111
</div>

0 commit comments

Comments
 (0)