日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

如何在UI设计中制作完美阴影

發布時間:2023/12/10 编程问答 23 豆豆
生活随笔 收集整理的這篇文章主要介紹了 如何在UI设计中制作完美阴影 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

重點 (Top highlight)

Shadows are everywhere in modern UI Designs. They are one of the most essential part of the UI elements right behind the fill, stroke, and cornder radius. 😉

現代UI設計中到處都有陰影。 它們是UI元素中最重要的部分之一,緊隨填充,筆觸和Cornder半徑之后。 😉

Completely flat design is no longer a significant trend. With this short tutorial, you will learn how to create stunning shadows for your cards, buttons, or whatever UI control you want.

完全扁平化的設計已不再是一個重要趨勢。 通過這個簡短的教程, 您將學習如何為卡片,按鈕或所需的任何UI控件創建驚人的陰影 。

So, grab the mug of your favorite coffee, and let me show you 6 easy steps for impressive shadows!

因此,拿起您最喜歡的咖啡的杯子,讓我向您展示6個簡單的步驟即可獲得令人印象深刻的陰影!

1.不要使用陰影默認值 (1. Do not use shadow defaults)

It does not matter if you use Sketch, Figma, or Adobe XD. All default shadow presents from design tools are awful. Do not use them! If you want to make them look clean and modern, you always have to modify their appearance.

使用Sketch,Figma或Adobe XD都沒有關系。 設計工具提供的所有默認陰影效果都很糟糕。 不要使用它們! 如果要使它們看起來干凈現代,則必須始終修改其外觀。

Defaults, bleh…默認值,令人沮喪…

2.使陰影看起來柔和 (2. Make Shadows Look Soft)

Most of the nice shadows are the soft ones. To enhance their look — lower opacity (10–30%) and set the higher level of blur (16px-40px). Now look at your shadow — this setup instantly improved its appearance.

大多數漂亮的陰影是柔和的陰影。 要增強外觀-降低不透明度(10–30%),并設置更高的模糊度(16px-40px)。 現在查看您的陰影-此設置可立即改善其外觀。

This is nicer…更好…

3.考慮將陰影創建為帶有模糊的圖層 (3. Consider Creating Shadows As a Layer with Blur)

Standard shadow style is easier to implement, but if you would like to stand out, try to make a separate layer with a blur as a shadow. Thanks to this technique, you will gain more control over the shadow position and its size.

標準陰影樣式更易于實現,但是如果您想脫穎而出,請嘗試使用模糊作為陰影來制作單獨的圖層。 借助此技術,您將可以更好地控制陰影位置及其大小。

I know… developers may hate this technique, but you may help them with this site! 😎

我知道……開發人員可能討厭這種技術,但是您可以在此站點上為他們提供幫助 ! 😎

Did you know that trick?你知道那個把戲嗎?

4.使陰影顏色更自然 (4. Make shadow color more natural)

100% pure grey never looks good (except pure black-white theme). Look, the real-world shadows always got a subtle color. Add the tone of your UIs neutral color to the shadow, and it will look much better.

100%純灰色永遠看起來都不錯(純黑白主題除外)。 看,真實世界的陰影總是帶有微妙的顏色。 將您的UI中性色調添加到陰影中,它將看起來更好。

And just a little dose of color…還有一點點顏色……

5.使材料顏色為陰影 (5. Make Material Colors As Shadow)

Look at some materials from the real-world, especially semi-transparent ones. Their shadows inherit the color of the object. You may use these tones to create the illustration of that type of material. It will look fresh!

看一下真實世界中的一些材料,尤其是半透明的材料。 它們的陰影繼承了對象的顏色。 您可以使用這些色調創建該類型材料的圖示。 看起來很新鮮!

6.從現實世界中激發自己 (6. Inspire yourself from the real world)

The example from the above is just a beginning. Observehow other objects and materials interact with the lighting. See how they cast shadows — colors, blurs, angle. Remarkable results start with a spark of inspiration.

以上示例只是一個開始。 觀察其他物體和材料如何與照明交互。 了解他們如何投射陰影-顏色,模糊,角度。 出色的結果始于靈感的火花。

總結一下。 (To conclude.)

This 6 easy to apply steps will move your shadows to the next level. When you apply the simple tricks, repeat, and adjust them to your projects, you will notice how the quality of your work enhances.

這6個易于應用的步驟將使您的陰影更上一層樓。 當您應用簡單的技巧 ,重復這些技巧并將其調整到您的項目中時,您會注意到工作質量如何提高。

If you found the tutorial useful, share it to let your friends know how to make their UI better!

如果您覺得本教程有用,請與他人分享,以使您的朋友知道如何改善他們的UI!

This article is an extension of my blog post ??, which has its origin in the Instagram tutorial 📷.

本文是我的博客文章 ??擴展,其起源于Instagram教程 📷。

Thanks for reading!

謝謝閱讀!

翻譯自: https://blog.prototypr.io/how-to-make-perfect-shadows-in-ui-design-2773e32074da

總結

以上是生活随笔為你收集整理的如何在UI设计中制作完美阴影的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。