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ڤیدیۆکان
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زیاتر فێربە لە
- CSS Basics: Rules, Three Places and Coloursبنەماکانی CSS: ڕێسا، سێ شوێن و ڕەنگ
- CSS Selectors, Pseudo-classes and Pseudo-elementsهەڵبژێرەکانی CSS، نیمچەکلاسەکان و نیمچەتوخمەکان
- Styling Text, Backgrounds, Lists and Tablesڕازاندنەوەی دەق، باکگراوند، لیست و خشتەکان
- Positioning and Page Layoutشوێندانان و ڕێکخستنی لاپەڕە