Pratham Profile picture
30 May, 9 tweets, 3 min read
5 rare and unique CSS properties that you won't believe exist

๐Ÿงต๐Ÿ‘‡๐Ÿป
1๏ธโƒฃ touch-action

- The touch-action CSS property sets how an element's region can be manipulated by a touchscreen user (for example, by zooming features built into the browser)
2๏ธโƒฃ text-align-last

You probably heard of text-aling but have you heard about text-align-last?

It is used to align the last line of a paragraph
3๏ธโƒฃ image-rendering

The `image-rendering` CSS property sets an image scaling algorithm.

When you specifies dimensions of image other than its natural size then the image will be up/downscaled by user agent using the algorithm specified by image-rendering
Check the output deeply ๐Ÿ‘‡๐Ÿป

developer.mozilla.org/en-US/docs/Webโ€ฆ
4๏ธโƒฃ aspect-ratio

The aspect-ratio CSS property sets the height and width ratio of box which can further use into some layout and auto sizes
5๏ธโƒฃ content-visibility

The content-visibility CSS property controls the visibility of element's content.

It is different from visibility CSS property ๐Ÿ‘‡๐Ÿป

The visibility property specifies whether or not an element is visible.
That's pretty much it for this thread.

You can now learn CSS in a fun and visual manner through my eBook only for $1

And with this thread, I am giving away 50 copies for free ๐Ÿคฉ

Discount Code: free50

๐Ÿ”— gum.co/css-cheat
Sold out! ๐Ÿ˜ต

โ€ข โ€ข โ€ข

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

29 May
Here is a quick glimpse of the JavaScript notes that I plan to include in the second edition of my Cheat Sheet book.

Be ready ๐Ÿงต๐Ÿ‘‡๐Ÿป
1. JavaScript Function Anatomy
2. JavaScript Array Methods
Read 6 tweets
29 May
5 great tools to test website for every web developer

๐Ÿงต๐Ÿ‘‡
1. SEO Site Checkup

- SEO Site Checkup runs through a fast audit of your site, checking for proper tags and surfacing any errors that might come up

๐Ÿ–‡๏ธ seositecheckup.com
2. Web Page Test

- Run a free website speed test from around the globe using real browsers at consumer connection speeds with detailed optimization recommendations.

๐Ÿ–‡๏ธ webpagetest.org
Read 6 tweets
27 May
Introduction to CSS transitions โฒ๏ธ

CSS transition add some smoothness in animation. By using it, you can change styling over a given duration instead of instantly

Let's discuss this in a little more detail ๐Ÿงต๐Ÿ‘‡๐Ÿป
CSS transition and CSS animation are two closely related modules of CSS but they are different

For example, CSS animation runs automatically but the transition need to be triggered like hover
Transition is a like a two point operation. For example, suppose you're changing the height to an element when user hover it from 100px to 200px

In this case point A is 100px and point B is 200px
Read 16 tweets
27 May
Announcement ๐Ÿšจ

You all have been waiting for this for so long. I just published my eBook containing all my CSS cheat sheets.

Sounds good? Purchase it right now for $1 only ๐Ÿ’ธ

๐Ÿ”— gum.co/css-cheat
People are suggesting me that $ 1 is too low ๐Ÿ˜…

I was going to keep its price $0. Thank god i didn't do that. Still, I love helping others as much as I can. If you can't spend $1 due to some reasons, DM me and I'll send you a free copy โค๏ธ
Unbelievable for me ๐Ÿš€
Read 5 tweets
27 May
These 5 great tools can save you from writing CSS code if you're a front-end developer

๐Ÿงต๐Ÿ‘‡๐Ÿป
1๏ธโƒฃ CSS Accordion Slider Generator

- Create fully responsive, css only accordion sliders

๐Ÿ”— accordionslider.com
2๏ธโƒฃ Animate.css

- Animate is a CSS library for basic CSS animation. Its a browser friendly with a lot of pre built animations

๐Ÿ”— animate.style
Read 6 tweets
26 May
Cool things about HTML in this single thread ๐Ÿงต๐Ÿ‘‡๐Ÿป
2. Types of list marks
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!

:(