Swapna Kumar Panda ๎จ€ Profile picture
Mar 18 โ€ข 14 tweets โ€ข 2 min read
๐Ÿ”  CSS Font Related Properties & Values
๐ŸŒ† Direct Link for High Resolution Image

If you liked this one, give a โญ๏ธ to this GitHub repo to support my work.

โœง Direct Link:
github.com/swapnakpanda/Iโ€ฆ
๐Ÿ“‹ Properties we covered

โžŠ font-family
โž‹ font-size
โžŒ font-weight
โž font-style
โžŽ font-variant
โž text-decoration
โž text-transform
โž‘ color
โžŠ font-family

โ‘ Generic Families

โœง serif
โœง sans-serif
โœง monospace
โœง cursive
โœง fantasy
โœง system-ui
โœง ui-serif
โœง ui-sans-serif
โœง ui-monospace
โœง ui-rounded
โœง emoji
โœง math
โœง fangsong
โ’ Popular Families

โœง "Times New Roman"
โœง Arial
โœง Georgia
โœง Verdana
โœง Helvetica
โœง Courier
โž‹ font-size

โ‘ Absolute Size
โœง xx-small
โœง x-small
โœง small
โœง medium
โœง large
โœง x-large
โœง xx-large
โœง xxx-large;

โ’ Relative Size
โœง smaller
โœง larger

โ‘ Length
โœง 16px
โœง 0.8em

โ’ Percentage
โœง 75%
โžŒ font-weight

โœง normal
โœง bold
โœง lighter
โœง bolder
โœง 100
โœง 200
โœง 300
โœง 400
โœง 500
โœง 600
โœง 700
โœง 800
โœง 900
โž font-style

โœง normal
โœง italic
โœง oblique
โœง oblique <x>deg
โžŽ font-variant

โœง normal
โœง small-caps
โž text-decoration

It's a shorthand property. Longhand properties are

โ‘ text-decoration-line
โœง none
โœง underline
โœง overline
โœง line-through

โ’ text-decoration-color

โ‘ text-decoration-style
โœง solid
โœง double
โœง dotted
โœง dashed
โœง wavy

โ’ text-decoration-thickness
โž text-transform

โœง none
โœง lowercase
โœง uppercase
โœง capitalize
โœง full-width
โœง full-size-kana
โž‘ color

It should be any valid color value in CSS.
๐Ÿ’ญ Feedbacks

โœง Did you find this thread useful?
โœง After reading through entire thread, have you learnt something worth?
โœง What improvements will you suggest?

Hey ๐Ÿ‘‹. I will be happy to hear from you. Your feedbacks would help me sharing better contents in future.
End of ๐Ÿงต

Hey ๐Ÿ‘‹ I am a Tech Educator from India ๐Ÿ‡ฎ๐Ÿ‡ณ

I am sharing Tutorials, Tips, Techniques, Infographics, Cheat Sheets, Interview Questions and Roadmaps on Web Development, DSA and, Database.

Are you interested? I am sure, you are.

To never miss anything, Follow Me โœ…

โ€ข โ€ข โ€ข

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

Keep Current with Swapna Kumar Panda ๎จ€

Swapna Kumar Panda ๎จ€ 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 @swapnakpanda

Mar 20
How much JavaScript is good enough to start in React?

โ‡ฉ
๐Ÿ’ญ Why is this Thread?

โฌ˜ JavaScript and React both are popular and having a large share.

โฌ— I have often seen people jumping straight to React without much knowledge in JavaScript.

โฌ™ Is this a good idea? If no, then how much JavaScript knowledge is enough to start React?
๐Ÿ‘ฉโ€๐Ÿ’ป Beginning Words

โฌ– I suggest to start learning JavaScript first.

โฌ˜ If you start with React, you would frequently travel between JavaScript and React making the learning progress slower.

โฌ— Let's see how much JavaScript should be enough to start working in React.
Read 16 tweets
Mar 19
๐Ÿ’œ JavaScript: Array's length vs String's length
-
โ‡ฉ Array's length property is ...
โžŠ Introduction

In JavaScript,

โœง Array is an Object whereas String is a primitive

โœง Despite String being a primitive, for easy operations it has a lot of methods and, properties

โœง String is considered as Array-Like

โœง Both Array and, String has a "length" property
โž‹ Array's length

โœง Unlike many other languages, JavaScript actually allows to modify an array's length manually.

โœง If we set a larger length, few blank spaces (holes) are added to the end.

โœง If we set a smaller length, elements are removed from the end.
Read 7 tweets
Mar 17
๐Ÿฆพ 11 Modern JavaScript Hacks

โ‡ฉ
๐Ÿ’ญ Why is this Thread?

โ‘ The code we write should be readable and, maintainable. But that doesn't mean it should be verbose.

โ’ With ECMAScript new specifications, many newer syntaxes are available which we should try to use mostly.

โ‘ Let's explore few such modern tricks.
๐Ÿ“‹ Table of Contents

โžŠ Conversion to Number
โž‹ Conversion to Boolean
โžŒ Conversion to String
โž Complex String
โžŽ Short Circuit && / ||
โž Nullish Check
โž Default Value
โž‘ Default Function Parameter
โž’ Optional Chaining
โž“ Array Resizing
โžŠโžŠ Function Rest Parameter
Read 16 tweets
Mar 16
60+ Shorthand Properties : CSS Cheat Sheet

โ‡ฉ
๐ŸŒ† Direct Link for High Resolution Image

If you liked this one, give a โญ๏ธ to this GitHub repo to support my work.

โœง Direct Link:
github.com/swapnakpanda/Iโ€ฆ
Read 10 tweets
Mar 15
Why <!DOCTYPE html>?

โ‡ฉ
โžŠ History

โœง In the old days of the web, pages were written in two versions: One for Netscape Navigator, and one for Microsoft IE.

โœง When the web standards were made at W3C, browsers could not just start using them, as doing so would break most existing sites on the web.
โœง Browsers therefore introduced two modes to treat new standards compliant sites differently from old legacy sites.

โœง Modes were: Quirks Mode and Standards Mode.

โœง For HTML documents, browsers use a DOCTYPE in the beginning of the document to decide which mode to handle.
Read 12 tweets
Mar 14
๐Ÿ›ฃ Beginner's Roadmap for Front-End

HTML & CSS โ†’ ๐Ÿ‘ฉโ€๐Ÿ’ป โ†’ JavaScript โ†’ ๐Ÿ‘ฉโ€๐Ÿ’ป
โ†“
๐Ÿ‘ฉโ€๐Ÿ’ป โ† React* โ† ๐Ÿ‘ฉโ€๐Ÿ’ป โ† Tailwind*
โ†“
TypeScript โ†’ ๐Ÿ‘ฉโ€๐Ÿ’ป โ†’ Next.js* โ†’ ๐Ÿ‘ฉโ€๐Ÿ’ป โ†’ ๐Ÿ

โ‡ฉ
๐Ÿ’ญ Why is this thread?

โ‘ Beginners willing to start their Front-End journey are often get confused about what all they have to learn and explore.

โ’ This is my honest attempt to help them by sharing a clear roadmap.

โ‘ It is from my 15 years of Web Development experience.
๐Ÿ“‹ Table of Contents

โžŠ HTML & CSS
โž‹ JavaScript
โžŒ CSS Frameworks
โž UI Frameworks
โžŽ TypeScript
โž Server-side Frameworks
โž Others
โž‘ What is essential?
Read 17 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

Don't want to be a Premium member but still want to support us?

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

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(