Pratham Profile picture
Feb 19 β€’ 11 tweets β€’ 5 min read
Neumorphism UI might not be best industrial practice, but it's worth trying.

Let's create a neumorphic form using a few simple CSS steps.

A thread πŸ§΅πŸ‘‡πŸ»
Neumorphic design is another UI design that has become popular these days.

Making neumorphic effect is actually pretty easy using only just CSS box-shadow.

We'll be creating a neumorphic form in steps. πŸ‘‡πŸ»
Step 1:

Place a light source (virtually) on the screen. In this example, I'm considering that light source is placed top left corner of the screen.
Step 2:

Create a container div and set the background color slightly darker than white. I picked #ecf0f3. Make sure that the color of the body and container should be the same.
As we placed our light source on the top-left corner, make sure the left and top border of the container should be brighter than the right and bottom border.

This will make the element looks like it has a light source illuminating from the top left corner of the screen.
STEP 3:

Create a brand logo using the same technique.

Since the brand will protrude from the container, use the same color, i.e., #ecf0f3.

Add bright color shadow at the top left side and dark color shadow at the bottom right side.
STEP 4:

The input fields are going to have a sunken effect. And to achieve this, we will use an inset box-shadow.

As light is coming from the top-left corner, the right and bottom border will be bright because input fields have a sunken effect.
STEP 5:

Create a button preferably of the same color as of logo because this will give you a fascinating look at your design.

Add hover selector and apply box-shadow none when you mouse over it.
That's it!

Neumorphic design is all based on box-shadow property.

You just need to remember two things. πŸ‘‡πŸ»

- Protrude effect in outer element (normal box-shadow)
- Sunken effect in inner elements (inset box-shadow)
With that being said, follow @Prathkum for more excellent content. πŸ˜‰
Check out the full source code here.

codepen.io/prathkum/pen/O…

β€’ β€’ β€’

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

Keep Current with Pratham

Pratham 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 @Prathkum

Jan 30
5 great icons websites for every web developer and designer.

πŸ§΅πŸ‘‡
1️⃣ Icons 8

Icons8 is just more than icons. You can download illustrations, vector images, music and much more.

πŸ–‡ icons8.com
2️⃣ Icon Monstr

Black and white themed minimal icons which looks super great. You can also cuatomize the thickness.

πŸ–‡ iconmonstr.com
Read 6 tweets
Jan 20
I randomly started Twitter and built over 100K audience in about 12 months.

Online presence helped me generate around $50K in no time.

Here's how you can also do it. πŸ§΅πŸ‘‡πŸ»
πŸ“Œ 1. Make your place in the well-established tech community

This sounds tough but actually, it is not. You just need to put content that serves value.

It's really important to niche down when in initial days.

For example, When I started, I posted only CSS arts nothing else
Why?

Obviously, you can put diverse content but we need to tell the community that, "hey, I am X and I am good at Y technology."

This will bring quick light to your profile.
Read 19 tweets
Jan 19
Choosing the right tools are important to boost your productivity.

Here are five tools that can make the development process easier.

Thread πŸ§΅πŸ‘‡πŸ»
1️⃣ HarperDB

- Connectivity: Has both SQL & NoSQL support
- Easily manageable: One endpoint for all CRUD operations
- Speed: 38 times faster than other DBs
- Custom Functions: Create Node.js API endpoints inside HarperDB w/ access to DB functionality

πŸ”— HarperDB.io
2️⃣ SEO Site Checkup

- SEO Site Checkup runs through a fast audit of your site, checking for proper tags and surfacing any errors that might come up.

πŸ”— seositecheckup.com
Read 5 tweets
Jan 12
I found five tools for developers that can make your life easier.

Thread πŸ§΅πŸ‘‡πŸ»
1️⃣ Froala ✍🏻

It's a WYSIWYG editor where you can build websites using simple UI and UX.

- Visualize what you're building πŸ’»
- Export code easily πŸ“„
- Fast performance πŸš€

πŸ”— Froala.com/wysiwyg-editor/
2️⃣ FusionCharts

Build beautiful statistical web applications πŸ“Š

Build dashborads with simple or complex data using FusionCharts.

- 100+ Interactive Charts
- 2,000+ Data-driven Maps
- Time-series charts for β€˜big data’ dashboard

πŸ”— FusionCharts.com
Read 6 tweets
Jan 7
Five tools for web developers in 2022 that can you boost your productivity.

Thread πŸ§΅πŸ‘‡πŸ»
1️⃣ ClickUp

- All of your work in one place: Tasks, Docs, Chat, Goals, & more.

πŸ”— clickup.com
2️⃣ Animate.css

- Animate is a CSS library for basic CSS animation. Its a browser friendly with a lot of pre built animations.

πŸ”— animate.style
Read 6 tweets
Nov 28, 2021
7 excellent cheat sheets by @Rapid_API that can help you learn some complex web development topics.

Thread πŸ§΅πŸ‘‡πŸ»
1️⃣ Cross-Origin Resource Sharing

2️⃣ Access-Control-* HTTP Headers

Read 9 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!

:(