Ajay Yadav ๐ŸŽฏ Profile picture
Feb 27 โ€ข 11 tweets โ€ข 4 min read
๐Ÿ“Œ Do you want to learn

โ†’ What is a box-shadow?

โ†’ How to use box-shadow?

โ†’ What is X offset?

โ†’ What is Y offset?

โ†’ Multiple values with box-shadow?

โ›” So, this thread is for you!

๐Ÿ’š Learn step by step with me :)

#webdev

A Thread ๐Ÿงต โ†“
โ“ First of all, we have to know, what is the syntax of the box-shadow?

๐Ÿ“Œ ๐’ƒ๐’๐’™-๐’”๐’‰๐’‚๐’…๐’๐’˜ : ๐‘ฟ-๐’๐’‡๐’‡๐’”๐’†๐’• ๐’€-๐’๐’‡๐’‡๐’”๐’†๐’• ๐’ƒ๐’๐’–๐’“ ๐’„๐’๐’๐’๐’“;
๐Ÿ“Œ ๐‘ฟ-๐’๐’‡๐’‡๐’”๐’†๐’•

โ†’ Distance in the X-axis from the left edge of the box.

๐Ÿ‘€ See the "white" part!
๐Ÿ“Œ ๐’€-๐’๐’‡๐’‡๐’”๐’†๐’•

โ†’ Distance in the Y-axis from the top edge of the box.

๐Ÿ‘€ See the "white" part!
๐Ÿ“Œ ๐’€-๐’๐’‡๐’‡๐’”๐’†๐’•

โ†’ But when we set the values as Y offset then the shadow of that box has moved down as they specified.

โ†’ Or, moved 100px from the top to down.

๐Ÿ‘€ See the image!
๐Ÿ“Œ ๐‘ฟ-๐’๐’‡๐’‡๐’”๐’†๐’•

โ†’ Similarly, when we set the values as X offset then the shadow of that box has moved right as they specified.

โ†’ Or, moved 100px from the left to right.

๐Ÿ‘€ See the image!
โ†’ But, when we set ๐“ซ๐“ธ๐”-๐“ผ๐“ฑ๐“ช๐“ญ๐“ธ๐”€ : 0 0 0 ๐”€๐“ฑ๐“ฒ๐“ฝ๐“ฎ;

โ†’ Then the shadow of the box will not be visible to the user.

๐Ÿ‘€ See the image!
โ†’ Now, if we set the blur value then the shadow of the box will be visible to the user.

๐Ÿ‘€ See the image!
โ†’ We can also set multiple values as the values of the box-shadow.

โ†’ Do not forget to separate these values with a comma( , )

โ†’ Remove comma( , ) from the last value.

๐Ÿ‘€ See the image!

๐Ÿ‘€ See the result in the next thread!
๐Ÿคฉ Result of the above image.
If you like this make sure to:

1. Follow me @ATechAjay

2. Retweet the first tweet.

3. Turn on the notification to never miss these amazing tweets.

Thank you so much for staying to the end of this thread.

โ€ข โ€ข โ€ข

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

Keep Current with Ajay Yadav ๐ŸŽฏ

Ajay Yadav ๐ŸŽฏ 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 @ATechAjay

Feb 26
๐Ÿ’šDemanded Thread๐Ÿ’š

โ†’ How to use SVG files in my projects?

โ†’ How to copy SVG code?

โ†’ From where to copy SVG code?

๐Ÿ“Œ Learn step by step with me!

A Thread๐Ÿงต๐Ÿ‘‡
๐Ÿ“Œ Suppose this is the SVG image.

โ†’ And this image you want to use in your projects.
โ†’ Then simple we have to right-click on that SVG image.

โ†’ Click on inspect.
Read 8 tweets
Feb 25
๐ŸŽ‰ Celebration + Experience of 100 Days Of Coding Challenge.

โ†’ 2nd time, I have completed this achievement!

๐Ÿค”Why should you take a challenge like #100DaysOfCode?

โ†’ You will get a GitHub Repo of our series, as well as a Twitter moment.

๐Ÿ“Œ Studies = TB patients

A Thread๐Ÿงต๐Ÿ‘‡
๐Ÿ“Œ Why should you take a challenge like #100DaysOfCode?

โ†’ I have heard that if a TB patient discontinues his medicine, then he has to start from zero.

โ†’ Exactly the same happens in studies.

โ†’ Read less but read every day.

โ†’ This is the "medicine" of your success.
๐Ÿ“Œ Some key points keep in mind during this marathon.

โ†’ Try to learn a topic every day.

โ†’ Try to explain each and everything.

โ†’ Try to explain with simple English words.

โ†’ Try to learn a topic from multiple sources.

โ†’ Try to answer the people on that topic.
Read 7 tweets
Feb 25
๐Ÿ”ฅ The only thread on JavaScript resources you need to follow!

๐Ÿ‘‰ If you are a beginner then you should follow these resources.

๐Ÿ“Œ My rule:

๐Ÿ‘‰ Follow minimum resources and learn from multiple resources.

A Thread๐Ÿงต๐Ÿ‘‡ Image
๐Ÿค” What is my rule "Follow minimum resources and learn from multiple resources" โ“โ“

Suppose

๐Ÿ˜Ž I want to learn functions in javascript,

๐Ÿ‘‰ Then first of all I will learn from the minimum resources.

๐Ÿ‘‰ It can be udemy paid courses, freecodecamp courses, etc
๐Ÿ‘‰ After that, I will type the "function in javascript" on google and try to learn those topics from the top 2 or 3 websites that are recommended by google search.

๐Ÿ‘‰ It can be MDN, W3school, G4G, etc
Read 12 tweets
Feb 24
๐Ÿ’š Day 1๏ธโƒฃ0๏ธโƒฃ0๏ธโƒฃ / 1๏ธโƒฃ0๏ธโƒฃ0๏ธโƒฃ Master in CSS Design series!

๐Ÿ’ฅ Today we going to host our website on @Netlify

โ†’ Implement smooth scrolling using just CSS.

โ†’ Implement nav links with a particular section.

#100DaysOfCode
#CodeNewbie
#webdev

Let me explain!๐Ÿงต๐Ÿ‘‡ Image
๐Ÿ“Œ Remember there are 3 sections in our existing project.

โ†’ Hero section
โ†’ Project section
โ†’ Footer section

โ›” When we click on header links then I want to access these particular sections. Image
๐Ÿ“Œ First of all, we have to add an ID in the section of the webpage.

๐Ÿ‘€ See the image! Image
Read 16 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!

:(