Pratham Profile picture
23 Jun, 7 tweets, 3 min read
Let's talk about some CSS concepts that we rarely used but they will prove that CSS is so deep.

πŸ§΅πŸ‘‡πŸ»
1. Select grammatical errors

::grammar-error pseudo-element select a grammatically incorrect sentence. Although this feature has not been standardized yet.

πŸ”— developer.mozilla.org/en-US/docs/Web…
2. You can optimize the performance of your web page by adding one line of CSS

The `will-change` property

- will-change tells the browser that how an element is expected to change
- Increase the responsiveness
3. You can change the input caret color using CSS

➸ The caret is typically a thin vertical line that flashes to help the text area more noticeable
4. Select elements like a pro

Instead of doing this

.container h1,
.container h2,
.container h3 {
color: red;
}

Do this
.container :is(h1, h2, h3) {
color: red;
}
5. Create 3D elements

- The perspective CSS property
Check the compatibility before using these modules in actual practice.

caniuse.com

β€’ β€’ β€’

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

25 Jun
Next 27 tweets are the Complete Introduction to CSS Grid Layouts including everything

πŸ§΅πŸ‘‡πŸ» Image
Grid is used for making complex web design layouts more easily as it's not so hard to master

Using Flex you can make only 1D layout but Grid gives you the full power of creating a 2D layout

Let's start

{ 02 / 28 }
First things first, start with giving the display property "grid" to the container element or parent element.

{ 03 / 28 } Image
Read 28 tweets
25 Jun
Cool things you can do with CSS only

🧡 πŸ‘‡πŸ»
Text portrait

πŸ”— codepen.io/prathkum/pen/x… ImageImage
Texture portrait

πŸ”— codesandbox.io/s/texture-port… ImageImage
Read 5 tweets
23 Jun
I have created enormous handmade notes for Web development beginners.

Here are some of my handmade JavaScript and CSS notes/cheat sheets that can help you 🧡 πŸ‘‡πŸ»
0. Semantic HTML
2. CSS border-radius
Read 13 tweets
23 Jun
I again brought 5 awesome GitHub repositories for beginners

πŸ§΅πŸ‘‡πŸ»
1. Project-based learning

A curated list of project-based tutorials covering JavaScript, Python and many other popular languages

πŸ”— github.com/tuvtran/projec…
2. Awesome Linux software

A list of awesome applications, software, tools, and other materials for Linux distros

πŸ”— github.com/luong-komorebi…
Read 6 tweets
22 Jun
Are you planning to create your first CSS art for fun? Start with the basic shapes.

Here are 26 easy to hard shapes and figures you can try first πŸ§΅πŸ‘‡πŸ»
In general, analyze any image and try to think how can you make it using different shapes.

Two concepts that you need to master

1. border-radius
2. linear-gradient
1. Circle Yellow πŸ”΅

- Pretty simple, we just need to make a square and apply the border-radius 50% in order to give it a circular shape
Read 28 tweets
22 Jun
Planning to learn React? Knowledge of a few JavaScript concepts can make the process easier for you.

Let's see some basic JavaScript modules that can help you πŸ§΅πŸ‘‡πŸ»
Keep JavaScript aside for a moment, Knowledge of basic HTML and CSS is a must in my opinion.

React is all about building user interface so you'll be working with HTML and CSS as well. So start with these first
1. Basic programming knowledge which is must

- Data types in JavaScript
- Variables
- Statements
- Control statements
- Operators
Read 13 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!

:(