Mikhil Desai• 200
@mike15395
Posted
@ritujha19 Congratulations on completing challenge! You are very close the design.
Here are few changes which will bring you more close to solution:
- CSS for changing colors for lists (both ul and ol)
ul {
list-style: none;
}
ol {
list-style: none;
counter-reset: my-counter;
}
ol li{
counter-increment: my-counter;
}
ol li::before
{
content: counter(my-counter) ". ";
color: hsl(14, 45%, 36%);
margin-right: 1%;
}
ul li::before{
content: ". ";
font-size: 30px;
margin-right: 1%;
color: hsl(14, 45%, 36%);
}
- Try to make it responsive
Rest your code is awesome!
Happy Coding:)
Marked as helpful
1
ritu jha• 60
@ritujha19
Posted
@mike15395 thanks , I will do this
0