CSS Tutorial For Beginners 18 - Attribute Selectors

preview_player
Показать описание
Yo ninjas, what's going on? In this CSS tutorial for beginner's we'll be mixing it up with some awesome attribute selectors - which, quite honestly, are one of the coolest types of selectors in CSS, full stop. Attribute selectors can help us target those elements which do not have a class, ID, or any way of finding it via child or descendant selectors. Swot up on you attribute selectors to become a true CSS ninja! Keep coding, and have fun :).

========== CSS for Beginners Playlist ==========

========== HTML Basics Course ==========

========== The Net Ninja ============

========== Social Links ==========

Рекомендации по теме
Комментарии
Автор

Explained concepts in simple, clear, precise, to the point. My simple suggestion/request, every time you open browser from bracket, it is taking unnecessary time, so u can use Alt+Tab to switch between bracket and chrome + refresh Or at least set html file properties to google chrome so that you can directly open html file in chrome by double clicking html file. I hope you take my suggestion positively. And thanks for knowledge sharing.

maheshnayak
Автор

i just managed to use this on a single image link in a gallery. the guy asked me if i could disable the link on this one specific image. i thought, "well no i can't because you're using the wp gallery block and i don't have access to any single click function, instead if the gallery were coded, it would be simple." then i remembered this tutorial and, mr. net ninja....you are just amazing man. your tutorials/playlists are just the best! thanks so much for educating us!

alxhrrs
Автор

this has literally exploded my mind. Im about to go full regex in my css

alienfunbug
Автор

I love the way you teach the basic now I know that I watch your video all before take make advance

JohnMervinancheta
Автор

Hi Shaun, great job with your tutorials, super helpful!
Just wondering what instances would necessitate an element having more than one value to an attribute
Example <Span Class="deck halls">
Seeing as selecting it with both class differently would create a conflict

Super grateful for your tutorials once again!

idowuomotola
Автор

Hey Shaun, maybe too late for this series, but I am using the Visual Studio Code application that you recommended in your 'Modern Javascript: from novice to ninja' udemy course with live server and it works so much smoother than doing all that 'save and then open with google chrome/firefox/whatever' steps that you are doing. Great course otherwise! Thank you!

eruston
Автор

"title" attribute for "a" tag? Never heard of that.
Edit: Learned it now. It is the text, which is shown when hovering over the link with the mouse.

rene
Автор

I just love how you say "style"

somedude
Автор

Thank you bro, it's so satisfying when the code works.. 🙏😃

abebrosiczki
Автор

Thank so much! Great explanation as usual!
When you were talking about the caret sign, I thought that you had said the "carrot sign", ahhah! I was wondering if there was truly some mysterious sign named like that XD

dandelion
Автор

In one of your previous tutorials, you said that elements are worth 1 point, classes are 10, and an id is 100. This is how the browser would weight them. So how much points are attribute selectors worth?

savikrish
Автор

Can we chain attribute selectors together? Say we have 5 element like a <link> tag, each with multiple attributes, but we only want to target one of them, decided by a combination of 2 attributes - say the href and the type attributes.

eeker
Автор

hahah. Yo that "what the hell is going on" cracked me man. hhahaha. good one

prajwalkhanal
Автор

Attribute Selector is stronger than id and class >??? Is that correct?

salehabuhussein
Автор

As always its awesome !, but a small suggestion if u use dark theme background visibility will be more good .

varshatn
Автор

cons:
>white theme
>reopens website instead of hitting F5
pros:
>his explanations are superb

StrangeIndeed
Автор

Hi. What´s the difference in writing .deck or span[class] what´s the difference in using the normal class dot?

ecosunflower
Автор

what's in the front of the href tag?

kingsuccez
Автор

What to do to colour different div in different colours..or different a in different colours

trendingnow
Автор

Out of all the selector which will have greater precedence attribute selector or id or class?

sagarsehwag