Sangy K Profile picture
Jan 20 β€’ 7 tweets β€’ 4 min read
⚑ How to create a Claymorphism CSS Card, a new CSS Trend in 2022 πŸŒ„πŸ”₯πŸ”₯

#100DaysOfCode #Developer #design #CSS3
πŸ‘‡ Image
Claymorphism can be
βœ… created using a combination of inner and outer shadows
βœ… create more depth against the background using one large shadow
βœ…two inner shadows giving a 3d effect
πŸ‘‰one corner lighter shadow,
πŸ‘‰diagonally opposite is a darker shadow
πŸ“Œ HTML
➑ Simple and straightforward HTML
➑ Card div holding all the information Image
πŸ“Œ CSS
➑ 2 colours, light pastel colours produces a great claymorphic effect.
➑ lighter background so that the depth is clearly visible - RGB(249, 234, 255)
➑ border-radius to give more 3d kind of effect ImageImage
➑ Use the same colour for both inner and outer shadow.
➑ Outer shadow should be darker than an inner shadow to give the depth
➑ Inner shadow - reduce the alpha value for lighter tones
➑ Add Styles to image, text and link.
➑ Add shadows to them to get a more clay-like 3d effect

⚑ Full Code, ImageImageImage
πŸ”₯ That's it! We have created a claymorphic 3d card

⚑ Follow @sangyk_dev for more web dev content
πŸ₯‚ Retweet the first tweet to inspire others.

β€’ β€’ β€’

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

Keep Current with Sangy K

Sangy K 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!

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

Too expensive? 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!

:(