Ravi Kumar Profile picture
Feb 10 β€’ 9 tweets β€’ 3 min read
Best Responsive Web Design Practices to follow.

πŸ§΅πŸ‘‡
1⃣ Set The Viewport.

<meta name="viewport" content="width=device-width, initial-scale=1.0">

πŸ‘‡ Image
2⃣ Use the media queries.

This CSS property has a feature to enable your webpage content to adapt to different screen sizes. ImageImage
3⃣ Design for mobile-first.

Today many users use mobile and open websites through mobiles, so your design must be started from the mobile then forward to tablet and PC.

Chrome responsive design testerπŸ‘‡ Image
4⃣ Use SVG for icons

SVGs are vector-based, they can be scaled to any size without losing quality. With SVG, your graphics will always be sharp and pixel perfect.

Check this thread for SVG.
πŸ”—
5⃣ Use Relative units

Don's use standard px unit. always prefer rem,%, em, etc. Image
6⃣ Understand the Layout.

Understand how to "display" property works.

Display: block, flex, grid, inline, inline-block. Image
7⃣ Use CSS Grid, Flex. Image
Thanks for reading the thread.

If you find it useful. Give the first one a retweet and if you have any feedback, let me know in the comment.

πŸ”—

β€’ β€’ β€’

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

Keep Current with Ravi Kumar

Ravi Kumar 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 @ravikmmr

Feb 6
Improve your CSS with these Free Resources.

πŸ§΅πŸ‘‡
1⃣ CSS Tricks

πŸ”—
css-tricks.com
2⃣ CSS Author.

πŸ”—
cssauthor.com
Read 14 tweets
Feb 5
Top 10 CSS Generators Tool.

Time-saving shortcuts to improve your workflow.

πŸ§΅πŸ‘‡
1⃣ Neumorphism

πŸ”—
neumorphism.io/#e0e0e0
2⃣ Blobmaker

πŸ”—
blobmaker.app
Read 12 tweets
Feb 4
Projects to brush up on your Html skills.

πŸ§΅πŸ‘‡
1⃣ HTML personal website

create your portfolio website and use as many tags as possible for your portfolio like <table> tag , <img> tag,<hr> tag etc.

Snapshot of ProjectπŸ‘‡
2⃣ Documentation page

create your own documentation page for your notes and report with your own functionality and practice all links, heading, and paragraph tags.

Snapshot of ProjectπŸ‘‡
Read 8 tweets
Feb 3
BAD CSS Practice to avoid.

πŸ§΅πŸ‘‡
1⃣ Not using shorthand properties

πŸ‘‡
2⃣ Use PX when it's not needed

πŸ‘‡
Read 8 tweets
Jan 24
Do you know about the HTML Meta tag for social media cards?

πŸ§΅πŸ‘‡
1⃣ Introduction

β€” A social media card is a visual representation of the content of a specific web page on a social media platform it is being shared on.

β€” If your website has a social media card, it looks more appealing and provides additional information for people.
2⃣ Twitter card tag

β€” The Summary Card can be used for many kinds of web content, from blog posts and news articles to products and restaurants.

β€” It gives the reader a preview of the content before clicking through to your website.
Read 7 tweets
Jan 23
Do you know about CSS Mask or Clip path property?

let's take a lookπŸ‘‡
1⃣ . Intro

β€” The CSS mask property is used to partially or fully hide an element at specific points.

β€” CSS clip-path is also used to hide an element by cutting its path

difference:-

β€” mask property is usually a two images combination.
β€” clip-path cuts the path of an image.
2⃣ Syntax :

β€” CSS mask :
you have to define two images, whether both in the background or one in Html and the other in mask property

.element {
mask-image: url(star.svg);
}

β€” CSS clip :
define the path and apply property.

clip-path: polygon(50% 5%, 0% 100%, 100% 100%);
Read 5 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!

:(