Definitionپێناسە
The way CSS decides which wins when several rules set the same of one element: !important first, then , then source order (the later rule wins).
ئەو ڕێگەیەیە کە CSS پێی بڕیار دەدات کام سەردەکەوێت کاتێک چەند ڕێسایەک هەمان بۆ یەک دادەنێن: سەرەتا !important، پاشان ، پاشان ڕیزبەندیی نووسین (ڕێسای دواتر دەباتەوە).
Exampleنموونە
h1 { color: red; } h1 { color: blue; } gives a blue heading: same specificity, so the later rule wins.
h1 { color: red; } h1 { color: blue; } سەردێڕێکی شین دەدات: وەک یەکە، بۆیە ڕێسای دواتر دەباتەوە.
Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
تاڤگە، زنجیرەی یەکلاکردنەوە، کاسکەیدەکە، کاسکەیدی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
Proposed by WEBW1 as a loanword (like «ڕێسپۆنسیڤ» in responsive-design); the literal «تاڤگە» (waterfall) is listed as an alternative. The C of CSS (Cascading) comes from this idea.
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
How the browser decides which rule wins: counting ids, classes and elements, inline styles and why !important should be rare.
چۆن بڕیار دەدات کام دەباتەوە: ژماردنی id، کلاس و ، style و بۆچی دەبێت !important کەم بەکاربهێنرێت.