Тёмный

Eliminating Code Redundancy in UI Alerts with the 'currentColor' CSS Value 

3arbaoui Mehdi
Подписаться 11 тыс.
Просмотров 131
50% 1

In this lesson, we'll use the "currentColor" CSS value to reduce the code redundancy of an "alert" user interface that has two states, "success" and "danger".
By using "currentColor" for the "border" property, we can eliminate the need to repeat the same color value for both states and instead inherit it from the parent element's color property.
-------------
Twitter: / arbaoui_mehdi
#css #frontend

Опубликовано:

 

16 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@ibenahmedreda711
@ibenahmedreda711 Год назад
💙💙💙
@wattaki
@wattaki Год назад
top ❤❤❤
@Damex_Tech2001
@Damex_Tech2001 Год назад
Cool
@ibenahmedreda711
@ibenahmedreda711 Год назад
BTK 😉
Далее
I Spent 24 Hours With The World's Tallest Man!!
15:07
#6 Responsive Images Manual Generation
8:11
Divize Demo - Learn to Write HTML/CSS like a PRO
4:02:04
Просмотров 2,7 тыс.
Web Auth #05 Server Side Code
11:37
Просмотров 91
I Spent 24 Hours With The World's Tallest Man!!
15:07