La pseudo-class :not

22/Dic/2015 1894

Esta es una de las pseudo-clases menos utilizadas pero con gran utilidad al momento de alcanzar selectores CSS que no comparten cierta regla. La pseudo-clase :not permite seleccionar todos los selectores excepto que satisfacen cierta condición. Esto es muy útil ya que solíamos definir las propiedades a los elementos que necesitábamos y luego escribíamos la excepción y dependiendo de cómo, podía ser con clase CSS ó selectores hermanos/adyacentes u otros. Por ejemplo, para darle un borde separador a todos los elementos de un menú menos para el último podíamos:

.menu a {
  margin-right: 5px;
  padding-right: 5px;
  border-right: 2px solid gray;
.menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;

JS Bin on

Con :not todo se hace más fácil y con mucho menos código:

.menu a:not(:last-child) {
  margin-right: 5px;
  padding-right: 5px;
  border-right: 2px solid gray;

JS Bin on

Soporte: IE9+ con tranquilidad



  1. pharmacepticacom [#]

    top erectile dysfunction drugs

  2. ivermectin warnings [#]

    General Dope About this by-product ivermectin 6 mg ivermectin pills walgreens stromectol 3mg tablets dosing ivermectin for sale ivermectin 12 mg

  3. Samblabs [#]

    buy generic tadalafil online cheap

  4. [#]


  5. [#]

    tadalafil from india reviews

  6. ivermectin 3 mg [#]

    Non-specific Message Far this offshoot online pharmacy ivermectin ivermectin tablets ivermectin predaj ivermectin on amazon ivermectin for humans

  7. Kimblabs [#]

    medication cymbalta 60 mg

  8. modafinilwithdrawal [#]

    adrafinil vs modafinil modafinil provigil

  9. [#]

    ivermectin ivermectin for humans uk stromectol drug

  10. modafinilmoa [#]

    provigil dosage provigil price

  11. buyprovigilonline [#]

    how to get modafinil what is modafinil used for

  12. prednisoneforgout [#]

    steroid prednisone side effects for prednisolone

  13. buy isotretinoine [#]

    isotretinoine roaccutane

  14. cialis 20 mg [#] cialis tablets

  15. howtogetmodafinil [#]

    order modafinil how long does modafinil last

  16. accutane ipledge [#]

    isotretinoine accutane coupon

  17. buymodalert [#]

    provigil 200 mg provigil online

  18. bactrim generic [#] Sulfamethoxazole side effects

  19. modafinilprice [#]

    modafinil dosage buy modalert reddit

  20. bactrim dosage [#] trimethoprim sulfate and polymyxin b sulfate

  21. yeezy [#]

    I intended to draft you one bit of note just to give many thanks yet again on your gorgeous solutions you have provided on this website. It’s really tremendously open-handed of people like you to deliver freely all a few people could have supplied as an ebook to help make some dough for themselves, precisely since you might well have done it in the event you decided. Those pointers in addition served to be a easy way to be certain that the rest have a similar keenness just as my personal own to grasp lots more on the subject of this matter. I am sure there are many more fun periods in the future for people who start reading your blog post.

  22. spongebob kyrie 5 [#]

    I enjoy you because of all your valuable effort on this site. My niece enjoys doing research and it is easy to see why. Most of us learn all regarding the compelling manner you produce insightful information via this web site and even welcome contribution from website visitors on this topic so our daughter has been becoming educated a lot. Take advantage of the rest of the year. You have been conducting a really good job.

  23. kyrie 6 shoes [#]

    I needed to compose you that very small observation to be able to thank you again for those unique pointers you have provided in this article. It has been seriously open-handed with you to provide unreservedly just what a number of us could possibly have advertised as an e book to earn some cash on their own, certainly considering the fact that you could have done it in case you wanted. These good tips also worked to be the great way to be sure that some people have similar keenness the same as my own to find out a whole lot more with reference to this condition. I’m sure there are lots of more enjoyable times ahead for those who looked over your blog post.

  24. kd 10 [#]

    I wanted to compose you that very little note just to say thanks a lot over again with your breathtaking tips you’ve featured in this case. This is simply surprisingly generous with people like you to allow unhampered what most of us could have advertised as an ebook to end up making some dough for their own end, principally considering that you might have done it if you ever wanted. The tricks likewise served like a good way to fully grasp that most people have similar fervor just as my own to know lots more with regards to this condition. I’m sure there are thousands of more pleasurable occasions in the future for those who find out your site.

  25. moncler [#]

    I simply desired to say thanks once more. I am not sure the things I would have done without the creative concepts provided by you over this theme. Certainly was a real difficult concern in my circumstances, nevertheless viewing a specialized style you processed it forced me to jump over joy. I am grateful for the help and even hope you know what a powerful job you were doing instructing most people through your websites. Probably you haven’t got to know any of us.

  26. kobe byrant shoes [#]

    My wife and i got absolutely excited when Emmanuel managed to conclude his web research through the ideas he came across through your site. It’s not at all simplistic just to be giving freely ideas which many others may have been selling. And now we realize we have the writer to give thanks to for this. The specific explanations you’ve made, the straightforward blog navigation, the friendships your site make it easier to engender – it is most great, and it is helping our son and our family feel that the issue is thrilling, which is unbelievably pressing. Thank you for everything!

  27. off white outlet [#]

    I wanted to send you one little bit of observation just to give thanks once again on your extraordinary ideas you have featured above. It is wonderfully generous with people like you in giving easily what a number of people could possibly have supplied as an e-book to end up making some bucks for themselves, especially since you could possibly have tried it in case you desired. These creative ideas additionally worked to become great way to know that many people have similar interest the same as my very own to learn a whole lot more on the subject of this problem. I’m certain there are several more fun periods in the future for those who examine your blog post.

  28. commander viagra [#]

    blood pressure during exercise – les effets du viagra

  29. [#]

    ivermectin tablets walmart ivermektin %1 krem ​​jenerik ivermektin 1 krem ​​generisk

  30. [#]

    can you buy ivermetin at the counter where can you buy ivermectin pills ivermectin where to buy for humans

  31. Dnyufloft [#]

    viagra ossido nitrico viagra anniversary

  32. FthtOnelm [#]

    is viagra available generically mehr geld viagra alzheimer

  33. ivermectin human dosage [#]

    ivermectin ivermectin ivermectin for humans where to buy locally

  34. ivermectina 1% crema generica [#]

    ivermectin tablet ivermectin for humans stromectol over the counter

  35. [#]

    where to buy legitamate ivermectin ivermectin by mail stromectol australia

  36. ivermectin 6 mg [#]

    Global Low-down Fro this product ivermectin tablets ivermectin for sale ivermectin tablets for humans ivermectin 3 mg ivermectin 3 mg

  37. off white jordan 1 [#]

    I am only writing to let you understand what a beneficial discovery my friend’s princess undergone reading your blog. She came to understand a wide variety of things, including what it’s like to have a wonderful coaching mood to make other people with no trouble gain knowledge of several problematic matters. You actually exceeded readers’ expected results. Thank you for giving such invaluable, trusted, edifying and as well as easy tips about your topic to Jane.

  38. air jordan [#]

    I simply wanted to send a simple message to be able to appreciate you for all of the fantastic hints you are sharing here. My particularly long internet lookup has at the end been paid with good content to share with my great friends. I ‘d assume that most of us readers are definitely fortunate to dwell in a very good site with so many wonderful individuals with valuable guidelines. I feel extremely lucky to have discovered your site and look forward to many more brilliant times reading here. Thanks a lot once again for everything.

  39. golden goose [#]

    I’m also writing to make you know of the excellent experience my friend’s girl undergone reading your webblog. She mastered lots of details, with the inclusion of what it is like to have a very effective helping style to get many people effortlessly completely grasp selected grueling subject areas. You truly exceeded visitors’ expected results. Many thanks for supplying these powerful, trusted, explanatory not to mention unique thoughts on the topic to Lizeth.

  40. nike sb dunk high [#]

    I have to get across my gratitude for your kindness for people that must have help on that theme. Your special commitment to getting the message all over turned out to be quite practical and have in most cases encouraged those just like me to realize their objectives. Your useful guide denotes a whole lot a person like me and still more to my peers. Thanks a ton; from each one of us.

  41. curry 5 [#]

    I have to express some appreciation to you for bailing me out of this particular situation. Just after looking throughout the search engines and meeting principles which were not beneficial, I was thinking my life was well over. Being alive without the approaches to the difficulties you have sorted out by means of your entire review is a critical case, as well as ones which may have in a negative way damaged my entire career if I hadn’t come across your web page. Your personal knowledge and kindness in maneuvering all the things was important. I don’t know what I would have done if I had not encountered such a step like this. I am able to now look forward to my future. Thank you very much for this professional and result oriented help. I won’t be reluctant to endorse your web page to any individual who needs and wants support about this topic.

  42. buy cialis online [#] cialis 20 mg

  43. ivermectin for sale [#]

    Global Dope Far this product ivermectin for sale for humans stromectol ivermectin tablets ivermectin tablets for humans ivermectin tablets for humans for sale