three dots in html code example
Example 1: three dots in css
span {
display: inline-block;
width: 180px;
white-space: nowrap;
overflow: hidden !important;
text-overflow: ellipsis;
}
Example 2: three dots in javascript
// Extracts elements in Dict
let team = {
lead: "Bob",
num2: "Rob",
num3: "Dog",
}
// team
{lead: "Bob", num2: "Rob", num3: "Dog"}
let students = {
num1: "Andy",
num4: "Ben",
...team
}
//students
{num1: "Andy", num4: "Ben", lead: "Bob", num2: "Rob", num3: "Dog"}