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

You can make it using a few simple CSS steps: 🧡
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 the light source is placed the 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

Feb 9
ChatGPT is like a superhuman!

But these 5 AI websites will blow your mind (take a look):
1. IconifyAI

Don't spend countless hours finding or designing a suitable logo for your app.

Give a simple prompt and get high-quality AI-generated logos.

πŸ”— IconifyAI.com Image
2. Murf

Text to audio!

Make studio-quality voiceovers in minutes. Use Murf’s lifelike AI voices for podcasts, videos, and all your professional presentations.

πŸ”— murf.ai Image
Read 7 tweets
Feb 8
Use these 8 websites to learn certain development concepts faster (they are free) 🧡
1. Sorting Algorithms

Learn sorting algorithms visually and intuitively.

πŸ”— toptal.com/developers/sor…
2. How HTTP Works

Everything you need to know about HTTP based system.

πŸ”— howhttps.works How HTTP works screenshot.
Read 10 tweets
Feb 2
ChatGPT is phenomenal.

But try these 6 websites to finish hours of work in minutes:
1. Livecycle

Get your PR review 10 times faster with zero friction and repetitive back and forth.

β€’ Get PR review
β€’ Invite collaborators
β€’ Contextual review

πŸ”— sdk.livecycle.io/h2
2. Compose AI

Compose AI is a Chrome extension that cuts your writing time by 40% with AI-powered autocompletion & text generation.

πŸ”— compose.ai
Read 8 tweets
Feb 1
You don't really need to spend $$$ on courses.

8 web development, AI, ML, and programming courses from popular universities like Harvard, MIT, and Berkeley (free):
1. Introduction to Programming with Scratch

A gentle introduction to programming that prepares you for subsequent courses in coding.

by Harvard

πŸ”— pll.harvard.edu/course/cs50s-i…
2. Introduction to Artificial Intelligence with Python

Learn to use machine learning in Python in this introductory course on artificial intelligence.

by Harvard

πŸ”— pll.harvard.edu/course/cs50s-i…
Read 9 tweets
Jan 30
Use these 5 AI Chrome extensions to finish hours of work in minutes (take a look):
1. ScribeHow

Turn any process into a step-by-step guide, instantly.

You don't need to explain the process manually. Just record it, and the ScribeHow extension will convert it into a guide.

πŸ”— getscribe.how/chrome
2. Merlin

Free Open AI’s ChatGPT powered extension to use anywhere!

β€’ Summarize content
β€’ Generate Excel formula and explanation
β€’ Write emails
β€’ Generate code

πŸ”— merlin.foyer.work
Read 7 tweets
Jan 27
5 GitHub repositories will make you feel like an expert developer:
1. Novu

A fully functional real-time notification center for your web and react apps.

πŸ”— github.com/novuhq/novu
2. Hover

A collection of CSS3-powered hovers effects to be applied to links, buttons, logos, SVG, featured images, and so on.

πŸ”— github.com/IanLunn/Hover
Read 7 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!

:(