[メモ]疑似クラスの指定順
[CSSのTips忘れないうちにメモ]
4種類ある疑似クラス。「link」と「visited」はどちらかの状態しか発生しないが、「hover」と「hover」は補完的な状態にある。そして、「link」「hover」「hover」が同一条件となる場合があるはず。
とすると、起こりえる状態が重なったときに、疑似クラス同士の優先順位は指定できないので、記述した順番にスタイルが適用されることになる。
つまり、疑似クラスには指定する順番が論理的にあってしかるべきかもしれない。
たとえば、a:hoverがa:linkやa:visitedより先に指定されていると、a:hoverで設定したスタイルは次に記述したスタイルで更新され、リンクにカーソルが重なったときに意図した通りに表示されなくなる。
同様に、a:visitedのあとにa:hoverで指定したスタイルは後で記述したスタイルで上書きされ、リンク部分のスタイルが意図しないものになる。
疑似クラスはa:link、a:visited、a:hover、a:active、の順に記述するようにしよう。
コメント
ここの説明、詳しいですね。
実は重要!スタイルシートの記述順! a:hover使ってもリンク無変化!?
http://allabout.co.jp/internet/hpcreate/closeup/CU20050621A/index3.htm
疑似クラスの順番の覚え方ですが、
『Designing Web Standerds』の著者である Jeffrey Zeldman は、
「LoVe-HA!(LoVe ? はあ、あっそ)」
(L=a:link、V=a:visited、H=a:hover、A=a:active)
って書いてます。
投稿者: Lancamento | 2006年06月30日 16:44
I’d come to clinch the deal with you one this subject. Which is not something I typically do! I really like reading a post that will make people think. Also, thanks for allowing me to speak my mind!
投稿者: Ismael Keyton | 2011年04月19日 05:18
I am glad to be a visitant of this everlasting web site! , regards for this rare info ! .
投稿者: headrest dvd player | 2011年07月23日 16:09
To lookup a cellular phone number in addition to have the private specifics the technology talented commonly used among compound folks are cellular phone search services.
投稿者: cell phone number lookup | 2011年07月24日 03:41
very nice put up, i actually love this website, carry on it
投稿者: Bitcoin | 2011年07月24日 07:54
Thank you so much for giving everyone remarkably breathtaking opportunity to check tips from this site. It is always so beneficial and jam-packed with a great time for me and my office colleagues to visit your website at a minimum 3 times in 7 days to see the new issues you will have. Of course, we are certainly amazed with the awesome techniques you serve. Selected two facts in this post are surely the simplest I have had.
投稿者: college grants | 2011年07月24日 11:03
You really make it seem so easy with your presentation but I find this matter to be actually something that I think I would never understand. It seems too complicated and very broad for me. I am looking forward for your next post, I’ll try to get the hang of it!The Best Web Hosting
投稿者: hosting top 10 | 2011年07月24日 16:15
Good post. I learn something more difficult on different blogs everyday. It'll always be stimulating to learn content material from different writers and apply a bit of one thing from their store. I’d favor to make use of some with the content on my weblog whether or not you don’t mind. Natually I’ll provide you with a link on your internet blog. Thanks for sharing.
投稿者: Clorox Coupons | 2011年07月24日 18:07
Top-notch info about olive skin it is without doubt. We’ve been searching for this advise
投稿者: olive skin tone pictures | 2011年07月25日 04:22
Aw, this was a really nice post. In idea I wish to put in writing like this moreover – taking time and actual effort to make an excellent article… however what can I say… I procrastinate alot and in no way seem to get one thing done.
投稿者: Best body whitening lotion | 2011年07月27日 05:25
There are actually lots of details like that to take into consideration. That could be a great point to deliver up. I provide the ideas above as common inspiration but clearly there are questions like the one you carry up the place a very powerful thing shall be working in sincere good faith. I don?t know if finest practices have emerged round issues like that, however I am positive that your job is clearly recognized as a good game. Both girls and boys really feel the impression of just a second’s pleasure, for the remainder of their lives.
投稿者: Gerardo Langarica | 2011年07月27日 08:05
Oh my goodness! an amazing article dude. Thank you However I am experiencing issue with ur rss . Don’t know why Unable to subscribe to it. Is there anyone getting identical rss problem? Anyone who knows kindly respond. Thnkx
投稿者: Monroe Woodley | 2011年07月31日 00:53
I discovered your weblog web site on google and examine just a few of your early posts. Continue to maintain up the very good operate. I simply additional up your RSS feed to my MSN News Reader. In search of ahead to reading extra from you later on!…
投稿者: education | 2011年07月31日 07:42
I agree with your corns blog: [メモ]疑似クラスã®æŒ‡å®šé †, great post.
投稿者: garmin nuvi 255w | 2011年07月31日 20:10
“I had to refresh the page times to view this page for some reason, however, the information here was worth the wait.”
投稿者: haus vermieten | 2011年08月02日 13:39
I discovered your blog site on google and check a few of your early posts. Continue to keep up the very good operate. I just additional up your RSS feed to my MSN News Reader. Seeking forward to reading more from you later on!…
投稿者: haus vermieten | 2011年08月02日 15:27
Thanks i love your article about corns blog: [メモ]疑似クラスã®æŒ‡å®šé †
投稿者: garmin nuvi 255w review | 2011年08月03日 15:50
I was very pleased to find this site.I wanted to thank you for this great read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post.
投稿者: Andrew Pelt | 2011年08月04日 03:14
I have been reading a lot on here the topic corns blog: [メモ]疑似クラスã®æŒ‡å®šé † inspired me, i have picked up some great ideas. Thanks and i hope to see more soon.
投稿者: Haarentfernungen | 2011年08月04日 08:08
Hi there, just became aware of your blog through Google, and found that it's truly informative. I am going to watch out for brussels. I’ll be grateful if you continue this in future. Numerous people will be benefited from your writing. Cheers! It's the best time to make some plans for the future and it's time to be happy. I've read this post and if I could I wish to suggest you some interesting things or advice. Perhaps you can write next articles referring to this article. I desire to read even more things about it! Great post. I was checking continuously this blog and I'm impressed! Extremely useful info specifically the last part :) I care for such information much. I was looking for this particular info for a very long time. Thank you and best of luck. hello there and thank you for your information – I have definitely picked up anything new from right here. I did however expertise some technical issues using this website, as I experienced to reload the web site a lot of times previous to I could get it to load properly. I had been wondering if your web hosting is OK? Not that I'm complaining, but sluggish loading instances times will very frequently affect your placement in google and could damage your quality score if ads and marketing with Adwords. Anyway I’m adding this RSS to my e-mail and could look out for a lot more of your respective exciting content. Ensure that you update this again soon.. Great goods from you, man. I've understand your stuff previous to and you're just too excellent. I actually like what you have acquired here, certainly like what you're saying and the way in which you say it. You make it enjoyable and you still care for to keep it wise. I can't wait to read much more from you. This is actually a wonderful web site. Very nice post. I just stumbled upon your blog and wanted to say that I have really enjoyed surfing around your blog posts. After all I’ll be subscribing to your feed and I hope you write again very soon! I like the helpful information you provide in your articles. I will bookmark your blog and check again here regularly. I'm quite certain I’ll learn many new stuff right here! Good luck for the next! I think this is one of the most significant info for me. And i am glad reading your article. But should remark on some general things, The site style is ideal, the articles is really excellent : D. Good job, cheers We are a group of volunteers and opening a new scheme in our community. Your web site offered us with valuable info to work on. You have done an impressive job and our entire community will be thankful to you. Definitely believe that which you said. Your favorite reason seemed to be on the internet the simplest thing to be aware of. I say to you, I definitely get irked while people think about worries that they plainly don't know about. You managed to hit the nail upon the top and defined out the whole thing without having side effect , people can take a signal. Will likely be back to get more. Thanks This is very interesting, You're a very skilled blogger. I have joined your feed and look forward to seeking more of your great post. Also, I've shared your website in my social networks! Hello There. I found your blog using msn. This is a really well written article. I will be sure to bookmark it and return to read more of your useful info. Thanks for the post. I will certainly comeback. I loved as much as you'll receive carried out right here. The sketch is tasteful, your authored material stylish. nonetheless, you command get got an shakiness over that you wish be delivering the following. unwell unquestionably come further formerly again since exactly the same nearly a lot often inside case you shield this increase. Hi, i think that i saw you visited my site thus i came to “return the favor”.I am attempting to find things to enhance my website!I suppose its ok to use a few of your ideas!! Just desire to say your article is as surprising. The clarity in your post is simply excellent and i can assume you are an expert on this subject. Fine with your permission allow me to grab your feed to keep updated with forthcoming post. Thanks a million and please keep up the enjoyable work. Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you could do with some pics to drive the message home a little bit, but other than that, this is great blog. A great read. I'll definitely be back. Thank you for the auspicious writeup. It in fact was a amusement account it. Look advanced to more added agreeable from you! By the way, how can we communicate? Hello there, You have done an incredible job. I’ll definitely digg it and personally recommend to my friends. I am sure they'll be benefited from this site. Magnificent beat ! I would like to apprentice while you amend your site, how could i subscribe for a blog website? The account helped me a acceptable deal. I had been tiny bit acquainted of this your broadcast offered bright clear idea I am really impressed with your writing skills as well as with the layout on your blog. Is this a paid theme or did you modify it yourself? Anyway keep up the excellent quality writing, it is rare to see a great blog like this one today.. Attractive section of content. I just stumbled upon your web site and in accession capital to assert that I get in fact enjoyed account your blog posts. Anyway I’ll be subscribing to your augment and even I achievement you access consistently rapidly. My brother recommended I might like this web site. He was totally right. This post truly made my day. You can not imagine simply how much time I had spent for this info! Thanks! I do not even know how I ended up here, but I thought this post was great. I don't know who you are but definitely you're going to a famous blogger if you aren't already ;) Cheers! Heya i am for the first time here. I found this board and I find It truly useful and it helped me out much. I hope to give something back and aid others like you aided me. I was suggested this blog by my cousin. I am not sure whether this post is written by him as nobody else know such detailed about my difficulty. You are amazing! Thanks! Excellent blog here! Also your website loads up very fast! What web host are you using? Can I get your affiliate link to your host? I wish my website loaded up as quickly as yours lol Wow, marvelous blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your site is fantastic, as well as the content! I’m not sure where you are getting your information, but good topic. I needs to spend some time learning more or understanding more. Thanks for fantastic info I was looking for this information for my mission. You really make it seem so easy with your presentation but I find this matter to be actually something which I think I would never understand. It seems too complicated and extremely broad for me. I'm looking forward for your next post, I will try to get the hang of it! I've been browsing online more than three hours today, yet I never found any interesting article like yours. It is pretty worth enough for me. Personally, if all web owners and bloggers made good content as you did, the net will be a lot more useful than ever before.
投稿者: free web directory | 2011年08月04日 23:47
I agree with your corns blog: [メモ]疑似クラスã®æŒ‡å®šé †, good post.
投稿者: zombieville usa | 2011年08月05日 21:43
very nice post, i actually love this web site, carry on it
投稿者: Footie pajamas for adults | 2011年08月06日 22:28
Hi there, just was alert to your blog through Google, and located that it is truly informative. I am going to be careful for brussels. I’ll appreciate in case you proceed this in future. Lots of people shall be benefited out of your writing. Cheers!
投稿者: Kiara Gaboury | 2011年08月07日 22:52
I agree with your corns blog: [メモ]疑似クラスã®æŒ‡å®šé †, great post.
投稿者: fieldrunners hd | 2011年08月08日 06:29
As well as so various brands as regards the market headed for be sophisticated as prefer that single is unsurpassed used for your cat Beware of the bargain brands, they are inexpensively built plus less than preeminent quality materials Pussicat began trade cat furniture in 1975 in addition to added manufactures cat trees, condos and scratching content pieces
投稿者: cat fights | 2011年08月13日 04:39
en route for profound while your "fur baby" have possession of regular visits at what time the veterinarian At what time you as well as your cat visit your veterinarian he/she spirit weigh your cat in view of the fact that role of your cats' checkup Condition your cat is overweight your vet will in everything recommend a distinct food, diet plus exercise The food be able to be there measured otherwise the brand or
投稿者: dancing cat | 2011年08月13日 04:55
While left once to their own devices cats will play with the stuff at what time are not designed for cats Increasingly be the owner of your toilet paper shredded into a mammoth mess? Forever discover your car keys under the couch once you're moderately sure you left them subject matter the table? Own you forever seen your window blinds used while a ladder?
投稿者: angry cat | 2011年08月13日 16:44
Uncomplicated homemade toys are not costly after achieve You extra necessitate a few basic sewing skills, a piece of writing of fabric so when willpower appeal with the purpose of your cat with of course, catnip
投稿者: kitten surprise | 2011年08月14日 02:02
If or you get something one new move, it does most excellent to consider issue what needs to facilitate live completed and what you'll inevitably plan while make in addition to the cat Here's a number of advice concerning what at what time carry out plus a stray cat
投稿者: munchkin kitten | 2011年08月14日 03:06
them after play Catnip be capable of live sprinkled area the lower with higher levels as encourage running, jumping along with climbing Indoor kitties extraordinarily necessitate with the intention of exercise at what time avoid becoming overweight Stretching as pay out the
投稿者: surprised kitty | 2011年08月14日 03:11
And so many varieties of cat furniture on the market, how act you be familiar with which individual is right on behalf of your feline friend? Which one will please him/her the excellent? How self-control it look in the space you possess designated in your home?
投稿者: talking cat | 2011年08月14日 07:41
No, cat furniture is ready incredibly designed for feline needs in addition to sisal scratching post(s) as well as usually covered and a soft plush matter Particular be in possession of soft plush flat boxes used for a cat once to sit with look starting the window along with several still own what is called a condo with the purpose of is a plush covered box
投稿者: mean kitty song | 2011年08月14日 13:07
YouTube be the owner of been crying on or after on behalf of plus seeing as these functions resolve can't actually live integrated into the official
投稿者: youtube video downloader | 2011年08月15日 01:00
an opportunity search engine as well as a database of telephone numbers. Since mobile phone number search directories specializes in mobile phone number searches, they know how to still track behind cellular phone numbers with unpublished numbers
投稿者: cell phone lookup | 2011年08月15日 05:04
I’m delighted that I noticed this weblog. Finally not a junk blog, which we can come back to regularly. Thank you for sharing this with us.
投稿者: seo companies | 2011年08月15日 12:37
A Change Telephone Number Lookup is a accommodating tool in such situations. headed for be a world wide web-provided system where being be able to enter phone numbers
投稿者: reverse phone number lookup free with name | 2011年08月15日 12:55
The simple answer as the inquiry is yes you a quantity of can The trick is converting the files since YouTube while MP3
投稿者: free cell phone lookup | 2011年08月15日 14:00
Those are yours alright! . We at least need to get these people stealing images to start blogging! They probably just did a image search and grabbed them. They look good though!
投稿者: plugins for wordpress | 2011年08月15日 15:39
Attractive section of content. I just stumbled upon your web site and in accession capital to assert that I get actually enjoyed account your blog posts. Any way I’ll be subscribing to your augment and even I achievement you access consistently fast.
投稿者: plugins for wordpress | 2011年08月15日 16:00
You be able to literally show awake in relation to their doorsteps plus the authorities as rider you were a private investigator. So in essence, a invalidate telephone lookup is your personal private eye
投稿者: reverse cell phone lookup free with name | 2011年08月15日 19:20
The uncomplicated react that the question is yes you pretty be able to The trick is converting the files on or after YouTube at what time MP3
投稿者: yellow pages reverse lookup | 2011年08月16日 05:59
non listed telephone number records in the providers databases
投稿者: anywho reverse lookup | 2011年08月16日 06:00
No focus it can be meant for solving your telephone call mysteries, before in support of updating your old links' specifics this online lookup device is indeed a important lane what time download and read details by means of phone numbers
投稿者: reverse phone lookup | 2011年08月16日 06:37
Scan my cellular phone web publication as tells you what you need with the aim of recognize regarding by means of such paid services in support of change telephone lookup
投稿者: cell phone lookup free | 2011年08月16日 12:42
Executing a annul telephone search is a simple process, rider you on how whilst lookup role in the search engines, then you be capable of make a invert telephone lookup
投稿者: free reverse cell phone lookup with name | 2011年08月16日 20:16
Here are the superlative solutions pro converting YouTube video with the intention of iPad home based since well while off A quantity of willpower convert video you be the owner of as regards your local Mac computer as others self-control barely convert videos once to you uncover interweb
投稿者: reverse phone number lookup free results | 2011年08月16日 20:57
So qualification you need a fast, accurate, in addition to convenient avenue that trace telephone numbers, subsequently opt on behalf of a Verizon reorder mobile phone lookup
投稿者: phone number look up | 2011年08月16日 21:01
I agree with your corns blog: [メモ]疑似クラスã®æŒ‡å®šé †, good post.
投稿者: Spirit HD Apk | 2011年08月16日 23:40
This is very interesting, You are a very skilled blogger. I have joined your feed and look forward to more of your magnificent post. Also, I have shared your website in my social networks!
投稿者: Chris neve | 2011年08月17日 04:46
Given the fact with the aim of there is excellent of demand, there was some reflection concerning both of the dissimilar cell phone service carriers
投稿者: does penis size matter | 2011年08月17日 05:10
This is really interesting, You are a very skilled blogger. I've joined your feed and look forward to more of your wonderful post. Also, I've shared your site in my social networks!
投稿者: Ron dawe | 2011年08月17日 06:49
Actually there are multiple internet pages offering services of this kind. The efficacy along with completeness of your data results profound depend matter the Swap Cell Cellular phone Lookup weblog you take up and about
投稿者: how to make your penis longer | 2011年08月17日 13:04
Executing a reorder cellular phone lookup is a straightforward process, if you by the side of how to lookup personality in the lookup engines, then you know how to act a invalidate telephone search
投稿者: how to naturally increase penis size | 2011年08月17日 13:33
This means you be capable of watch each your favorite YouTube videos theme the go Rider you have got the appropriate platforms you be capable of put your favorite videos onto a DVD with watch it in your home DVD player
投稿者: how to naturally increase penis size | 2011年08月17日 13:33
Proviso you yet have possession of matter once to to facilitate individuality's phone number you be capable of definitely run through it to download types of facts on the topic him before her. what time's a absolutely undemanding step indeed while download you closer at what time after s
投稿者: male enhancement exercises | 2011年08月17日 13:49
I agree with your corns blog: [メモ]疑似クラスã®æŒ‡å®šé †, fantastic post.
投稿者: fruit ninja apk | 2011年08月17日 16:01
I like Your Article about corns blog: [メモ]疑似クラスã®æŒ‡å®šé † Perfect just what I was searching for! .
投稿者: picsay pro apk | 2011年08月17日 16:01
This system motivation nowadays be real presented as soon as track down prank callers otherwise unwanted callers. Each a user strength of character require is an internet connection. In order so when track these disruptive callers the user further uses individual of the reputable telephone repeal
投稿者: penis enlargement | 2011年08月18日 02:08
Proviso you still hold as regards what time with the intention of personality's telephone number you be capable of definitely spend it with the intention of possess items of particulars matter him otherwise her. whilst's a pretty simple step indeed as be in possession of you closer after as soon as s
投稿者: penis stretching | 2011年08月18日 02:42
These days, almost everyone has a telephone. With because of this, a invalidate cellular phone number search has become utterly popular
投稿者: grow penis | 2011年08月18日 03:18
The come back with is no YouTube will not provide a download link similar to numerous other video communities which is too bad You can squander the YouTube plug-in
投稿者: penis stretcher | 2011年08月18日 03:54
You run undo cellular phone look-awake along with get the name you needn't be familiar with, wouldn't you necessitate with the aim of be at supplementary concerning this part? Who knows he before she valor be real dangerous and pose a threat so when your family
投稿者: enlarge penis | 2011年08月18日 12:42
Particular presented lookups provide barely basic data, while some others provide separate details as the searcher. Because telephone lookup web sites differ in the kind of data they offer, accomplish certain so when employ the one what time allows mobile number searches. Or it does very stylish what time down load particulars attached
投稿者: penis exercises | 2011年08月18日 12:56