5 cool things you can do with CSS 🎨

THREAD 🧡
1️⃣ Typewriter effect using CSS only

- You can create cool typing effect using steps() function of animation-timing-function

Displays an animation iteration along n stops along the transition, displaying each stop for equal lengths of time

{ 2 / 10 }
The code is pretty simple. Check it out here πŸ‘‡πŸ»

codepen.io/prathamkumar/p…

{ 3 / 10 }
2️⃣ Feature Testing

- The @ supports CSS at-rule lets you specify declarations that depend on a browser's support for one or more specific CSS features

{ 4 / 10 } @supports (display: grid) {   div {     display: grid;   } }
3️⃣ Tooltip

You probably notice that when you hover over something, an additional piece of information corresponding to that element pops up. This is called Tooltip

{ 5 / 10 }
Hence tooltips guide your visitors to take action and hence provides extra layer of guidance without any difficulties

- You can create tootip using CSS. It pretty easy



{ 6 / 10 }
4️⃣ Image carousel using 2 lines of CSS

- A carousel is a set of rotating banners, or a slideshow. It allows you to display as many slides as you want.

Creating images carousel was consider as a tedious task in previous time but not now

{ 7 / 10 }
Now you can create image carousel without using JavaScript as well

Moreover this smooth scroll as wellπŸ˜‰

πŸ”— codepen.io/prathamkumar/p…

{ 8 / 10 } .container {   scroll-snap-type: x mandatory; }  .slides {
5️⃣ Select elements like a pro😎

- Have you heard about :is pseudo-class. It takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list

For example, (next tweet)

{ 9 / 10 }
Instead of doing this ❌

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

Do this βœ…

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

{ 10 / 10 } .container :is(h1, h2, h3) {   color: red; }

β€’ β€’ β€’

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

19 Mar
If you are a developer then these GitHub repositories or websites will boost your knowledge to the next level

A Thread 🧡
1️⃣ JavaScript

- A kind of eBook in the form of readme. Covers from beginners to intermediate concepts of JavaScript

πŸ”— github.com/GitbookIO/java… Image
2️⃣ Python

- A huge list of python projects, snippets, example and almost everything related to Python which helps you understand it in detail

πŸ”— github.com/geekcomputers/…
Read 6 tweets
18 Mar
Do not write CSS code, use these free generators instead that can help you immensely

A Thread 🧡
1️⃣ Stripes generator

- Pure CSS Stripes Generator that you can use for backgrounds.

πŸ”— stripesgenerator.com Image
2️⃣ Gradient generator

- As a free css gradient generator tool, this website lets you create a colorful gradient background for your website, blog, or social media profile

πŸ”— cssgradient.io Image
Read 8 tweets
18 Mar
I know you haven't changed your Twitter header for a while

You can choose one of my css artsπŸ˜‰
2. A Programmer Desk
3. Customizable

Just change you name and use it

codepen.io/prathamkumar/p…
Read 7 tweets
17 Mar
5 amazing websites that will blow the mind of a developer. Definitely check them out

πŸ§΅πŸ‘‡πŸ»
1️⃣ Animation generator

- Dead simple visual tools to help you generate CSS for your projects.

πŸ”— keyframes.app
2️⃣ Neural Network Visualizer

- Deep playground is an interactive visualization of neural networks, written in TypeScript using d3.js.

πŸ”— playground.tensorflow.org
Read 6 tweets
16 Mar
A beginner's guide to getting started with CSS art and illustration

ThreadπŸ§΅πŸ‘‡πŸ»
Ok I consider CSS arts as the combination of some CSS properties

- Position
- border
- background
- animation
- transform
- perspective
- box-shadow

{ 1 / nn }
Mastering the above mentioned properties can complete 90% of the work for you

Although the process is little tough but tough things are cool 😎

{ 3 / nn }
Read 18 tweets
16 Mar
I've brought you some amazing GitHub repositories of web development tips and tricks 🌟

THREADπŸ§΅πŸ”½
1️⃣ JS Tips

- A huge list of 73 great tips and tricks of JavaScript

πŸ”— github.com/loverajoel/jst…
2️⃣ CSS Protips

- A collection of tips to help take your CSS skills pro. Definitely check it out

πŸ”— github.com/AllThingsSmitt…
Read 8 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!