7 CSS properties that you may not be using.

A Thread 👇
1️⃣ ::first-letter

The ::first-letter is a pseudo-element that is used to add a style to the first letter of the specified selector.

Note: The pseudo-element only works if the parent element is a block container box
2️⃣ :nth-child

The :nth-child(n) selector matches every element that is the nth child, regardless of the type, of its parent.

It is used to style content based on its relationship with parent and sibling elements.
Note: n can be a number, a keyword, or a formula.
3️⃣ Disable a link

You can simply use the CSS pointer-events property to disable a link. The none value of this property specifies that the element is never the target of pointer events.
4️⃣ ::before

This CSS is a selector that allows you to choose a CSS element and insert content before every element with a specific class applied to it.
Use the content property to specify the content to insert.
5️⃣ ::after

The ::after selector inserts something after the content of each selected element.

Use the content property to specify the content to insert.
6️⃣ ::placeholder

The ::placeholder selector selects form elements with placeholder text, and lets you style the placeholder text.

Note: In most browsers, the placeholder text is a translucent or light gray color by default.

• • •

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

Keep Current with Insha

Insha 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 @Insharamin

2 Aug
7 Best GitHub Repos That Every JavaScript Developer Must Know.

A Thread 👇
1️⃣ JavaScript Algorithms and Data Structures

This repository provides examples of common algorithms and data structures with explanations and links to further readings.

Stars: 112k
Forks: 18.6k

📎github.com/trekhleb/javas…
2️⃣ Clean Code JavaScript

This repo contains the Software engineering principles adapted for JavaScript from the Clean Code. It's a guide to producing readable, reusable, and refactorable software in JavaScript.

Stars: 53.2k
Forks: 6.7k

📎github.com/ryanmcdermott/…
Read 9 tweets
22 Jul
What are CSS Combinators?

Come let's discuss them one by one.

A Thread 👇
A combinator is something that defines the relation between selectors.

There can be more than one simple selector in a CSS selector, and between these selectors, we can include a combinator.
Types of Combinators:

1️⃣ Descendant selector
2️⃣ Child selector
3️⃣ Adjacent sibling selector
4️⃣ General sibling selector
Read 8 tweets
19 Jul
7 Tools for structuring and optimizing your CSS.

CSS files formatting and optimization is no more a headache for web developers with the help of these hand-picked tools!

A Thread 👇
1️⃣ CSS Optimizer

CSS Optimizer is an online tool to clean, optimize, and compress CSS code.

📎cssportal.com/css-optimize/
2️⃣ CSS Beautifier

Code Beautifier is based on CSS Tidy, the popular open-source CSS parser and optimizer. Enter your messy, minified, or obfuscated CSS Style Sheets into the field above to have them cleaned up and made pretty.

📎cleancss.com/css-beautify/
Read 9 tweets
15 Jul
Do you know what's the best way to learn any programming language?

- The Answer is by building lots of projects 💪

Here's a complete list of projects ranging from -> ( Beginner to advanced level ) for you.

A Thread👇
Html and CSS projects. 💪

1- A Tribute Page
2- Survey Form
3- Technical Documentation Page
4- Personal Portfolio
5- Product Landing Page

✅ When I was learning HTML and CSS I've tried all of them. You can check the code here👇

📎codepen.io/collection/oEE…
✅ Responsive Website using HTML and CSS

📎

✅Build a Responsive Grid CSS Website Layout From Scratch

📎

✅Basic Parallax Website With HTML & CSS

📎
Read 9 tweets
12 Jul
Mastering SEO optimization can be hard, especially if you’re just starting out.

Here's a compiled list of 7 Free SEO Tools for you.

A Thread👇
SEO tools investigate the potential of Web pages for high placement on search engine ranking pages.
They provide information on backlinks and keywords as well as insights into SEO competition on the Internet.
1️⃣ Google Search Console

Search Console tools and reports help you measure your site's Search traffic and performance, fix issues, and make your site shine in Google Search results

📎search.google.com/search-console…
Read 10 tweets
8 Jul
Resources to excel in your Tech interview.

A Thread 👇
1️⃣ Tech Interview Handbook

This repository has practical content that covers all phases of a technical interview, from applying for a job to passing the interviews to offer negotiation. 📎github.com/yangshun/tech-…
2️⃣ JavaScript Algorithms

This repository contains JavaScript-based examples of many popular algorithms and data structures. Algorithms and data structures implemented in JavaScript with explanations and links to further readings. 📎github.com/trekhleb/javas…
Read 11 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!

:(