- Create a blue background and centralize your drop
- Add some opacity and border of almost same shade.
- Adding a border of approximately the same color will not be visible at a glance, but it will add some sort of volume to your drop
- Well it does not look like a drop. So how do we make it?
- We will use pseudo-elements for adding volume(Layers) in our drop
- Add a layer using ::before pseudo-element
- Height, width and border-radius should be same as drop
- Background color should be same as body color
- Add some dark blue shadow in order to give it a 3d look
- Extend the same shadow
- Now add four layers of inset shadows
1. Blue inset shadow at right side 2. Blue inset shadow on top 3. White inset shadow at bottom-left 4. White inset shadow at bottom-left with large intensity
- CSS code for shadows mentioned in above tweetπ
- Now will create a small white reflection using ::after pseudo-element.
- Create a blob and align it above the white intensity as shown in the given image below
- Create another small white reflection using box-shadow of ::after-element
- Reduce opacity
Drop the link of your creations below. I'm more than happy to check it out
Final Outputπ
That's pretty much it. I hope you like itβ€οΈ
I'll catch you with the next thread. Until then, keep codingπ
If you're learning or planning to learn Web Development in 2021 then this thread is for you π
THREADπ§΅
In this thread I'll be covering general tips for the beginners.
I wish someone had told me this when I started with web development. So I am writing this so that you do not miss the common points and speed up your learning.
LET'S STARTπ
WHERE TO START? Front-end or Backend?π€
- Well this may be a debatable question but I would suggest you to start with front-end development
- It depends entirely on the individual but in my opinion, starting with front-end development has its advantages.