Ajay Yadav Profile picture
Feb 27, 2022 โ€ข 11 tweets โ€ข 4 min read โ€ข Read on X
๐Ÿ“Œ 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

Apr 14
MIT University just released free online courses.

100% Free, No Cost

Here are 7 courses you can't afford to miss in 2024: โ†“ Image
1. Introduction to Computer Science and Programming Using Python.

Topics:

โ†’ Python programming language
โ†’ Simple algorithms
โ†’ Data Structures
โ†’ Introduction to algorithmic complexity

buff.ly/3ORSEOo
2. Machine Learning with Python

Topics:

โ†’ Model Implementation & Analysis
โ†’ Model Selection
โ†’ ML Project Execution
โ†’ Training, Validation, Tuning, Features

buff.ly/3UOgb6u
Read 8 tweets
Apr 9
OpenAI just launched a big upgrade. ๐Ÿฅณ

ChatGPT is now 10x easier to use. ๐Ÿ’น

Check out 7 new features of ChatGPT you shouldn't miss.

[Important thread, Bookmarked it๐Ÿ”–] Image
1. Edit Images

You can now edit DALLยทE images in ChatGPT on the web, iOS, and Android.
2. No Sign up needed

OpenAI is making it easier for people to enjoy AI benefits without signing up.
Read 8 tweets
Mar 31
MIT University just released free online courses.

100% Free, No Payments

Here are 7 courses you can't afford to miss in 2024: โ†“ Image
1. Introduction to Computer Science and Programming Using Python.

Topics:

โ†’ Python programming language
โ†’ Simple algorithms
โ†’ Data Structures
โ†’ Introduction to algorithmic complexity

buff.ly/3ORSEOo
2. Machine Learning with Python

Topics:

โ†’ Model Implementation & Analysis
โ†’ Model Selection
โ†’ ML Project Execution
โ†’ Training, Validation, Tuning, Features

buff.ly/3UOgb6u
Read 8 tweets
Mar 19
ChatGPT, step aside. Meet Chat with RTX, Nvidia's game-changer.๐Ÿคฏ

Nvidia has unveiled Chat with RTX, and it's absolutely revolutionary.

Explore below โ†“
#NVIDIA Image
1. Chatbot on Your Computer

Chat with RTX is a chatbot on your computer.

It learns from your stuff like documents and videos to chat with you.

Completely personal and private!
2. Super Fast Answers

Because it runs on your computer, it's lightning-fast. You ask a question, and boom, you get an instant response!
Read 7 tweets
Sep 18, 2023
Are you suffering from eye problems? ๐Ÿ˜“

As a programmer, developer, or just a regular computer user, it's crucial to prioritize your eye health!

Check out these 12 tips to maintain the health of your eyes: ๐Ÿงต Image
I'm not a doctor, but I've done my research and used AI tools to create this guide.

We can leverage the power of @docus_ai to ask AI-driven health questions and even consult with leading medical experts.

Also, will share my favorite tools for caring for my eyes.

Let's start๐Ÿš€
1. Drink water more and more!

Did you know approximately 60% of water is in our bodies?

Drinking water helps flush out harmful elements and hydrates your eyes, reducing eye strain.
Read 15 tweets
Aug 11, 2023
50+ JavaScript Project ideas ๐Ÿ’ก

Open ๐Ÿงต Image
โ‘  Modal open & close

โ‘ก Random Hex Color Generator

โ‘ข Random Number Generator

โ‘ฃ Counter Number App

โ‘ค Border Radius Controller
โ‘ฅ Box Shadow Controller

โ‘ฆ Image Filter (when we click on the button)

โ‘ง Border Width Slider

โ‘จ Background changer using HTML Color Picker

โ‘ โ“ช Image Position Slider (X and Y Directions)
Read 13 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!

:(