1. Glossaryفەرهەنگی زاراوەکان
Specificity
وردیی هەڵبژێر
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە

Definitionپێناسە

A score that says how exactly a points at an element. An id counts more than any number of classes, and a class counts more than any number of element names; the rule with the higher score wins.

نمرەیەکە کە دەڵێت چەند بە وردی ئاماژە بە دەکات. idـێک لە هەر ژمارەیەک کلاس بەهێزترە و کلاسێک لە هەر ژمارەیەک ناوی ؛ ئەو ڕێسایەی نمرەی بەرزترە دەباتەوە.

Exampleنموونە

#title (1-0-0) beats .big (0-1-0), which beats h1 (0-0-1), wherever they are written.

#title ⁦(1-0-0)⁩ لە .big ⁦(0-1-0)⁩ دەباتەوە و ئەویش لە h1 ⁦(0-0-1)⁩، لە هەر شوێنێک نووسرابن.

Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر

سپێسیفیسیتی، وردیی هەڵبژێرەکە، وردیی هەڵبژێری

Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە

Proposed by WEBW1: وردی (exactness) + هەڵبژێر (selector). «تایبەتێتی» was avoided because the registry uses it for privacy, and «تایبەتمەندی» is property.

Related termsزاراوە پەیوەندیدارەکان

Videosڤیدیۆکان

Learn CSS Specificity In 11 MinutesWeb Dev Simplified · Englishئینگلیزی · 110K viewsبینین · 5K likesلایک

How the browser decides which rule wins: counting ids, classes and elements, inline styles and why !important should be rare.

چۆن بڕیار دەدات کام دەباتەوە: ژماردنی id، کلاس و ، style و بۆچی دەبێت !important کەم بەکاربهێنرێت.

Learn more inزیاتر فێربە لە