23 Neumorphism Design UI For Website
Today we will learn how to design components in the style of Neumorphism by combining simple colors with shadow effects in CSS.
Create a Neumorphism HTML CSS Effect
Before going into this, I would like to briefly explain the main attribute to create this effect is box-shadow
with the following general syntax:
box-shadow: [horizontal offset] [vertical offset] [blur radius] [spread radius] [color];
- horizontal offset: Horizontal offset of the shadow
- horizontal offset: Shade vertical offset
- blur radius : Opacity of the shadow
- spread radius : If the value of this property is greater than 0, the shadow size will be increased, otherwise will reduce the size.(You can choose to use or remove this element)
- color: Color of the shadow
And to design Neumorphism for components in the website, we need to note some of the following characteristics:
Shadows
: Objects must have two shadows (one light and one dark)Background colors
: The object's background color must be the same as the parent element's background color.Edges
: The edge of the Neumorphism object will have to be rounded.Borders
: The outline of the object should be set to be subtle, with contrast high.
HTML
<div class="doi_tuong"></div>
CSS
body {
align-items: center;
background-color: DodgerBlue;
display: flex;
height: 100vh;
justify-content: center;
}
.doi_tuong{
align-items: center;
background-color: DodgerBlue;
box-shadow:
12px 12px 16px 0 rgba(0, 0, 0, 0.25),
-8px -8px 12px 0 rgba(255, 255, 255, 0.3);
border-radius: 50px;
display: flex;
height: 200px;
justify-content: center;
margin-right: 4rem;
width: 200px;
}
And the final result you see below (You should switch to 0.5x screen mode to see it better):
As you can see in the above example, creating a component with a Neumorphism design is not difficult. The important thing is that we need to know how to set the correct value for the attribute box-shadow
. Here are two more examples of Neumorphism (You switch to 0.5x screen mode to see more clearly):
Online Neumorphism Effect Tool
In addition to hand-coding, we can also use the neumorphism.io
tool to design component in the style of Neumorphism easily. What I like about this tool is that you just need to customize it Adjust the values of the provided properties and then see the results immediately.
Neumorphism UI Library
Neumorphism UI is a library built on Bootstrap with pre-provided components and designed in Neumorphism style. It is completely free to use, but if you want to add more components to your website, you have to buy it for about $ 69.
Neumorphism Button CSS
You can check out the results below.
CSS3 Neumorphism Button
You can check out the results below.
CSS Neumorphism UI
You can check out the results below.
Neumorphism UI Button Pattern
You can check out the results below.
Neumorphism Button HTML CSS
You can check out the results below.
Neumorphism Component By HTML CSS
You can check out the results below.
Neumorphism Menu Icon
You can check out the results below.
Neumorphism By Shadow
You can check out the results below.
Click Neumorphism Button
You can check out the results below.
Neumorphism Social Icon
You can check out the results below.
Neumorphism Share Button
You can check out the results below.
Neumorphism Card CSS3
You can check out the results below.
Neumorphism Card Menu CSS
You can check out the results below.
Neumorphism Social Icon Button CSS
You can check out the results below.
Neumorphism Search Box CSS3
You can check out the results below.
Collection Of Neumorphism Button CSS3
You can check out the results below.
Neumorphism Card HTML5 CSS3
You can check out the results below.
Neumorphism Submit Button
You can check out the results below.
Neumorphism Menu CSS3
You can check out the results below.
Login Form Neumorphism CSS
You can check out the results below.
Neumorphism Gradient Loader
You can check out the results below.
Music Player Neumorphic
You can check out the results below.
Responsive Menu Neumorphic
You can check out the results below.
Summary:
I hope the article will provide you with useful Neumorphic for development, the web and if you have any questions just send an email I will respond as soon as possible. I hope you continue to support the site so that I can write more good articles. Have a nice day!
If you want more read more articles, please go to https://us.niemvuilaptrinh.com/