Browser categorize css to 4 categories with the specificity from high to low as:
1/ Style Attribute: <li style="color:white"/>
2/ ID: #some_id{ color: red;}
3/ Class, pseudo class, attribute: .some_class {color:green;}
4/ Elements: li {color:black;}
From W3C recommendation, the result of this calculation takes the form of four comma-separated values,
a,b,c,d
,1 where the values in column “a
” are the most important and those in column “d
” are least important. A selector’s specificity is calculated as follows:- To calculate
a
, count 1 if the declaration is from astyle
attribute rather than a rule with a selector (an inline style), 0 otherwise.
- To calculate
b
, count the number of ID attributes in the selector.
- To calculate
c
, count the number of other attributes and pseudo-classes in the selector.
- To calculate
d
, count the number of element names and pseudo-elements in the selector.
Here is one example using this rule:
body#home div#warning p.message --> 0, 2, 1, 3
Please notice the comma ',' in the css score, it is there to remind us that the score b, c, d can be equal or bigger than 10. Still, the rule to compare is left to right.
Good information and, keep sharing like this.
ReplyDeleteCrm Software Development Company in Chennai
web portal development company in chennai
web portal development services in chennai
professional web design company in chennai
smo company in chennai
seo company in chennai
best seo company in chennai
erp software development company in chennai
sem services in chennai
twitter marketing company in chennai
IEEE Final Year Project centers make amazing deep learning final year projects ideas for final year students Final Year Projects for CSE to training and develop their deep learning experience and talents.
DeleteIEEE Final Year projects Project Centers in India are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation.
corporate training in chennai corporate training in chennai
corporate training companies in india corporate training companies in india
corporate training companies in chennai corporate training companies in chennai
I have read your blog its very attractive and impressive. I like it your blog. Digital Marketing Company in Chennai
Nice post, you provided a valuable information, keep going. امیر تتلو
Deleteمهدی جهانی
Nice post, you provided a valuable information, keep going.
ReplyDeletePrestashop ecommerce development company chennai
Prestashop ecommerce development company in chennai
Prestashop ecommerce development company
Prestashop ecommerce development company in india
Nice information keep sharing like this.
ReplyDeletescaffolding dealers in chennai
Aluminium scaffolding dealers in chennai
Aluminium scaffolding hire
ReplyDeleteWow, Great information and this is very useful for us.
professional bridal makeup artist in chennai
best bridal makeup artist in chennai
Great information and this is very useful for us.
ReplyDeletepost free classified ads in india
ReplyDeleteNice information Keep going
vito food oil dealers in chennai
freezer with plastic body dealers in chennai
very useful information for us.
ReplyDeletebest cafe in chennai
Good information
ReplyDeletesecurity agency in chennai
best security service in chennai
Nice Blog !!.. Thanks For Sharing.
ReplyDeleteIT Infrastructure Services
HRMS Services
JAVA Development Services
HR Management Services
ReplyDeletevidmate
Download your favorite Latest Mp3 Lyrics which are available in English, Hindi, Bangla, Telugu, Latin, Arabic, Russian, etc.
ReplyDeleteClick Here
Click Here
Click Here
Click Here
Click Here
vidmate
ReplyDeleteThanks for provide great informatic and looking beautiful blog, really nice required information & the things i never imagined and i would request, wright more blog and blog post like that for us. Thanks you once agian
ReplyDeletecourt marriage in delhi ncr
court marriage in delhi
court marriage in noida
court marriage in ghaziabad
court marriage in gurgaon
court marriage in faridabad
court marriage in greater noida
name change online
court marriage in chandigarh
court marriage in bangalore
Permainan Sabung Ayam tentunya sudah pada tahu ya, yang dimana ayam melawan ayam pertandingan yang sangat seru ini bisa kalian nonton secara live lohh, banyak yang bermain di situs kami dan merasa sangat nyaman, bagi kalian yang ingin bermain bisa kunjungi situs kami, dijamin kalian akan merasa sangat senang.
ReplyDeletehttps://www.s128apk.asia/
https://www.s128apk.asia/daftar-s128/
https://www.s128apk.asia/sabung-ayam-deposit-pulsa-telkomsel-dan-xl-daftar-s128/
https://www.s128apk.asia/login-s128-cara-login-judi-sabung-ayam-online/
https://www.s128apk.asia/link-alternatif-s128/
ReplyDeletePermainan tembak ikan adalah permainan yang paling rame orang mainkan, apalagi jika pelayanannya yang sangat memuaskan bagi anda tentunya kalian pasti akan merasa sangat puas juga kan ?, bagi kalian yang sangat menyukai permainan tembak ikan bisa datang ke situs kami :)
https://www.aplikasijoker123.org/
https://www.aplikasijoker123.org/daftar-akun-slot-joker123/
https://www.aplikasijoker123.org/login-joker388-slot/
https://www.aplikasijoker123.org/joker123-deposit-pulsa/
https://www.aplikasijoker123.org/download-joker388-apk/
https://www.aplikasijoker123.org/link-alternatif-joker123/
Thanks for sharing! I like your blog and keep upadte us.
ReplyDeleteChatbot companies in india,
Chatbot development company,
Chatbot companies,
Messenger bot developer,
Facebook bot development,
Chatbot developer,
Bot developer,
vidmate download
ReplyDeletevidmate apk
lyricswhispering
ReplyDeleteHello... Thanks for the sharing your article with us... I hope your next article coming out soon.
ReplyDeleteBest 21 Motorcycle and Biker Quotes 2020 (English to Hindi)
Ambe Tu Hai Jagdambe Kali (Hindi Devotional Songs)
Best 30 Powerful Sad Quotes Translate English to Hindi
51 Best Love Quotes for Instagram Captions (English to Hindi)
Softyquotes
A Chatbot Development is a product program for reproducing wise discussions with human utilizing rules or man-made brainpower. Clients connect with the Chatbot development service by means of conversational interface through composed or spoken content. Chatbots can live in informing stages like Slack, Facebook Messenger bot developer and Telegram and fill some needs – requesting items, thinking about climate and dealing with your fund in addition to other things. As a Chatbot development company advancement organization our competency let you find happiness in the hereafter by taking care of clients all the more intelligently to accomplish wanted outcome. As a Chatbot companies we can streamline a large portion of your dreary undertakings, for example, voice bot advancement and client service, online business advices and so on
ReplyDeleteGreat article! We will be linking to this great article on our website. Keep up the good writing.
ReplyDeleteخرید بک لینک خرید بک لینک خرید بک لینک خرید بک لینک خرید بک لینک خرید بک لینک
https://www.facebook.com/codetoolsir/posts/722814541679156/
Great article! We will be linking to this great article on our website. Keep up the good writing.
ReplyDeleteروش تحقیق در علوم رفتاری زهره سرمد روش تحقیق در علوم رفتاری زهره سرمد
روش تحقیق در علوم رفتاری زهره سرمد روش تحقیق در علوم رفتاری زهره سرمد
https://www.facebook.com/codetoolspost/posts/3052456584809424/
google 4195
ReplyDeletegoogle 4196
google 4197
google 4198
google 4199
google 3360
ReplyDeletegoogle 3361
google 3362
google 3363
google 3364
google 3365
Howdy! I simply would like to give a huge thumbs up for the good data you have here on this post. I will probably be coming again to your weblog for more soon. Unique Dofollow Backlinks
ReplyDeletepayroll software singapore
ReplyDeleteecommerce web design agency
ReplyDeleteecommerce website development company
ecommerce development company