Pratham Profile picture
12 Apr, 8 tweets, 3 min read
8 CSS pseudo classes most likely you are not familiar with

🧵 👇🏻
1️⃣ :autofill

- The :autofill CSS pseudo-class matches when an <input> element has its value autofilled by the browser

See this in action here codepen.io/prathamkumar/p… input:autofill {   border: 3px solid blue; }
2️⃣ :empty

- The :empty CSS pseudo-class represents any element that has no children.
3️⃣ :picture-in-picture

- The :picture-in-picture CSS pseudo-class matches the element which is currently in picture-in-picture mode.

For example, picture-in-picture mode of videos :picture-in-picture {   box-shadow: 0 0 0 5px red; }
4️⃣ :indeterminate

- The :indeterminate CSS pseudo-class represents any form element whose state is indeterminate, such as checkboxes which have their HTML indeterminate attribute set to true
5️⃣ :playing

- The :playing CSS pseudo-class selector is a resource state pseudo-class that will match an audio, video, or similar resource that is capable of being “played” or “paused”, when that element is “playing”.
6️⃣ :paused

Similarly, the :paused CSS pseudo-class selector is a resource state pseudo-class that will match an audio or video when that element is “paused”.

P.S. playing and paused are currenly is experiment. They are not standardized yet
7️⃣ :right

- The :right CSS pseudo-class, used with the @page at-rule, represents all right-hand pages of a printed document.

8️⃣ Similarly, :left pseudo-class for left-hand pages @page :right {   margin: 2px 4px; }

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Pratham

Pratham Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @Prathkum

13 Apr
Top 10 project videos on YouTube every beginner should watch

🧵👇
1️⃣ Chat application using React

2️⃣ Portfolio using HTML and CSS

Read 11 tweets
13 Apr
I failed 8+ interviews. This is what I did

🧵⇓
99% of the time, we already know the outcome of the interview ⇓

{ 2 / 7 }
The biggest reason for failing a particular interview is the inability to answer certain questions.

Instead of feeling dispirited, I move on but ⇓

{ 3 / 7 }
Read 7 tweets
12 Apr
These 8 CSS tips and tricks will make you pro in CSS🎨

🧵 👇🏻
1️⃣ Create round text

Creating round text on your website is easy
2️⃣ Change the marker of list element

- The "type" attribute of <ol> element accpets 5 type of values 👇🏻
Read 9 tweets
11 Apr
7 great websites a programmer should visit

Thread 🧵 👇🏻
1️⃣ Pastebin

Pastebin can store texts like code, notes, and snippets online for a set time which can be shared instantly.

🔗 pastebin.com
2️⃣ Learn Shell

Whether you are an experienced programmer or not, this website is intended for everyone who wishes to learn programming with Unix/Linux shell interpreters.

🔗 learnshell.org
Read 8 tweets
11 Apr
A complete guide to learning JavaScript for Web Development

🧵 👇🏻
JavaScript is a robust language for web development. You should learn it if you want to be a web developers

Reasons 🔽

🔹 Currently used by 94.5% websites
🔹 Wide range of applications including mobile and desktop devices
🔹 Most in-demand language

{ 2 / 19 }
Depth of JavaScript is something that every developer loves or hates (Not sure). But starting with it is easy.

Even it becomes 50% easier if you're familiar with the few common programming concepts. For example, loops. control statements etc...

{ 3 / 19 }
Read 19 tweets
10 Apr
Top 12 Cheat Sheets that can help you immensely if you're a coder

🧵 👇🏻
1️⃣ Linux cheat sheet 🐧

🔗 assets.hongkiat.com/uploads/cheats…
2️⃣ Big-O cheat sheet

🔗 bigocheatsheet.com
Read 14 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!