ui设计卡片阴影_UI设计形状和对象基础知识:阴影和模糊

ui设计卡片阴影

第三部分 (Part 3)

Welcome to the third part of the UI Design super-basics. This time we’ll cover two of the most commonly used effects — shadows and blurs.

欢迎使用UI设计超级基础的第三部分。 这次我们将介绍两种最常用的效果- 阴影和模糊

Undertow (Shadows)

Drop shadow with blur and without blur example.

落影 (Drop Shadow)

Outer shadows (or drop-shadows) are easily the most common effect used in UI. A typical shadow relies on an offset from center (x, y, or both) a blur and an opacity value. In the example above the shadow is moved 20 points down on the Y axis and then blurred on the left side, or left without the blur on the right.

外部阴影(或阴影)很容易在UI中使用。 典型的阴影依赖于距中心(x,y或两者)的偏移,即模糊和不透明度值。 在上面的示例中,阴影沿Y轴向下移动了20个点,然后在左侧模糊,或者向左移动而右侧没有模糊。

Spread shadow value.

Some tools like Sketch also have a “spread” value, which makes the shadow look like a smaller element is casting it.

诸如Sketch之类的某些工具也具有“ spread”值,这使阴影看起来像是在投射较小的元素。

The most important parts of any shadows are the X, the Y and the Blur. The latter has to be a number larger than 0, while X and Y can also be negative numbers, moving the shadow in practically every direction.

任何阴影中最重要的部分是X,Y和模糊。 后者必须是大于0的数字,而X和Y也可以是负数,从而几乎在每个方向上移动阴影。

basic types of UI shadows

You can also stack shadows by adding more than one to the same object for pretty interesting results. The example below has three shadows in three darker shades of blue, each transposed by 3 points down.

您还可以通过向同一对象添加多个阴影来堆叠阴影,以获得非常有趣的结果。 下面的示例在三个深蓝色阴影中包含三个阴影,每个阴影向下移3个点。

Stacked shadows on a rectangle.

同态 (Neumorphism)

Knowing that we simply have to mention Neumorphism again. This stacking of shadows and negative X and Y values are the core principles necessary for making Neumorphism work.

知道我们只需要再次提及神经同质。 阴影和负X和Y值的这种堆叠是使Neumorphism工作所需的核心原理。

Image for post

看起来自然,阴影柔和 (Natural looking, soft shadows)

A natural-looking shadow is one of those elements that can make the biggest impact in a design. The most important part of looking natural is avoiding pure black shadows and using a shadow derived from our primary color instead. Pure black makes the contrast ratio too big to look natural. If you study real-life shadows, you’ll notice they often vary in shade and tone.

看起来自然的阴影是可以在设计中产生最大影响的元素之一。 看起来自然的最重要部分是避免纯黑色阴影,而是使用从我们的原色派生的阴影。 纯黑色会使对比度太大而看起来不自然。 如果您研究现实生活中的阴影,您会发现它们的阴影和色调通常会有所不同。

dark shadows vs soft shadows example
The default shadows are often too dark and can overtake the rest of the design.
默认阴影通常太暗,可能会超过设计的其余部分。

The best way to fix your shadows is to change them from black (default) to a darker shade of your primary color. In the example above the shadow is a dark purple with decreased opacity.

修复阴影的最佳方法是将其从黑色(默认)更改为原色的较深阴影。 在上面的示例中,阴影为深紫色,透明度降低。

an outer shadow on a circle, and an inner shadow example.

内在的阴影 (Inner shadows)

Inner shadows are relatively rare in UI. It has the same parameters as a drop shadow, but it appears inside of the object.

内部阴影在UI中相对较少。 它具有与阴影相同的参数,但它出现在对象内部。

They are not as popular because most interfaces are a series of layers stacked on top of one another. In that case, an outer shadow makes sense as it provides the depth. An inner shadow would suggest the object has a hole in it.

它们之所以不受欢迎,是因为大多数接口是一系列堆叠在一起的层。 在这种情况下,外部阴影会提供深度,因此很有意义。 内部阴影会表明该对象中有Kong。

natural layer based UI vs inner shadow UI
The example on the left uses a classic stack of layers, as seen in most interfaces. Adding an inner shadow to any of the layers (right) can result in an illusion of a hole created in the layers. That can break the visual structure of the stack.
如大多数界面所示,左侧的示例使用经典的图层堆栈。 向任何图层(右)添加内部阴影可能会导致在图层中创建Kong的错觉。 这可能会破坏堆栈的视觉结构。

The only use-cases of this style are form inputs (both form fields and checkboxes or radio-buttons) and extruded shapes in the Neumorphism method. They can be used to make the objects appear more life-like in some instances but should only be used moderately.

这种风格的唯一用例是表单输入(表单字段和复选框或单选按钮)和Neumorphism方法中的拉伸形状。 在某些情况下,可以使用它们使对象看起来更逼真,但应适度使用。

Neumorphism extruded shadows.
You can achieve this effect by using inner shadows on objects, and reverse the direction of X and Y.
您可以通过在对象上使用内部阴影并反转X和Y的方向来实现此效果。

The main issue with Neumorphism is the notion of using inner shadows and extruded shapes as a “selected” state. The perceivable difference between the standard and selected state is so small, that even non-visually impaired users can sometimes completely miss it. This in turn leads to one of the biggest accessibility flaws of Neumorphism.

Neumorphism的主要问题是使用内部阴影和拉伸形状作为“选定”状态的概念。 标准状态与选定状态之间的可感知差异很小,以至于即使是非视觉障碍的用户,有时也可能会完全错过它。 反过来,这导致了Neumorphism的最大可访问性缺陷之一。

All 4 types of blur effect illustrated.

模糊 (Blurs)

Most design tools nowadays have a Gaussian type blur that extends the effect in every direction evenly. Its primary value is the radius. The larger it gets, the more prominent the blur effect.

如今,大多数设计工具都具有高斯类型的模糊效果,可以在各个方向上均匀地扩展效果。 它的主要值是半径。 它越大,模糊效果越突出。

Gaussian blur is the most often used blur type. You can employ it into transitions between screens, or show a bit of realistic depth of field by selectively blurring the background.

高斯模糊是最常用的模糊类型。 您可以将其用于屏幕之间的过渡,也可以通过选择性地模糊背景来显示一些真实的景深。

Various values of gaussian blur
The larger the blur value, the more blurry the image — this one should be self explanatory :)
模糊值越大,图像越模糊-这应该是不言而喻的:)

高斯模糊为阴影 (Gaussian blur as a Shadow)

Image for post

This type of blur can also help you generate non-standard, point-shadows under objects. Just blur an ellipse and place it under the object casting the shadow. You can either use it on its own or combine it with a standard drop shadow for an even more unique result.

这种类型的模糊还可以帮助您在对象下生成非标准的点阴影。 只需模糊椭圆并将其放置在投射阴影的对象下即可。 您既可以单独使用它,也可以将其与标准投影效果结合使用,以获得更加独特的效果。

背景模糊 (Background blur)

Background blur became popular when Apple started using it in their OS to achieve that behind smoked-glass effect in some screens. An object with this effect applied blurs everything under it.

当苹果开始在其操作系统中使用背景模糊以实现某些屏幕上的烟熏玻璃效果后,背景模糊变得很流行。 应用了此效果的对象会模糊其下的所有内容。

An example of background blur.
In this example a square overlay with 90% opacity and a background blur is placed on the right of the image. As you can see the three white dots behave differently when they are placed under an object “casting” a background blur.
在此示例中,具有90%不透明度和背景模糊的正方形叠加层放置在图像的右侧。 如您所见,当将三个白点放置在“投射”背景模糊的对象下时,它们的行为会有所不同。

运动模糊 (Motion blur)

A motion blur simulates the movement of an object in a direction defined by the angle value. The blur value works the same as with Gaussian blur here.

运动模糊模拟对象在由角度值定义的方向上的运动。 模糊值的作用与此处的高斯模糊相同。

motion blur example with various angles.

变焦模糊 (Zoom blur)

A zoom blur happens when the object becomes blurry from the inside out. It’s often used in photography, but not a great pick for interface design.

当物体从内到外变得模糊时,就会发生变焦模糊。 它常用于摄影中,但不是界面设计的理想选择。

zoom blur example

In this particular blur type, you can also set the origin of the blur. By moving that point around, you can achieve some interesting effects.

在这种特定的模糊类型中,您还可以设置模糊的来源。 通过移动该点,可以实现一些有趣的效果。

Zoom blur with off center origins

UI设计的基础 (The basics of UI design)

This concludes our three part series on basics of shapes, objects and effects used in UI design. This has been a part of the free chapters of 📘 Designing User Interfaces Ebook, and you can download these chapters free 🍒 Learn the basics of design in this YouTube playlist:📺 Design Basics!

到此,我们结束了关于UI设计中使用的形状,对象和效果的基础知识的三部分系列文章。 这已经是📘Designing User Interfaces电子书的免费章节的一部分,您可以免费下载这些章节。 🍒在此YouTube播放列表中学习设计基础 :s 设计基础

You can find both the previous parts here:

您可以在这里找到前面的两个部分:

Image for post
UX Para Minas Pretas (UX For Black Women), a Brazilian organization focused on promoting equity of Black women in the tech industry through initiatives of action, empowerment, and knowledge sharing. Silence against systemic racism is not an option. Build the design community you believe in.UX Para Minas Pretas (UX For Black Women),这是一个巴西组织,致力于通过采取行动,赋权和知识共享的举措来促进科技行业中的黑人女性平等。 对系统性种族主义保持沉默是不可行的。 建立您相信的设计社区。

翻译自: https://uxdesign.cc/ui-design-shapes-objects-basics-shadows-and-blurs-e42bf2d32864

ui设计卡片阴影

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/274521.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

干货 | 带你玩转前端性能优化!【留言送书】

大家好,我是若川。之前送过三次Vue的书,现在又和博文视点合作再次争取了几本书,具体送书规则看文末。很多人可能有耐心花费一两个小时在一家火锅店门口排队,但几乎没有人愿意等30s去加载一个短视频。事实上,对于大多数…

如何进入游戏行业_进入设计行业

如何进入游戏行业We’re living in some weird-ass times. One of the unfortunate results of a global pandemic is loss of jobs and financial security. While people continue to deal with this, the prospect of entering a new field — especially one that’s sligh…

据说99%的人不知道 vue-devtools 还能直接打开对应组件文件?

大家好,我是若川。据说 99% 的人不知道 vue-devtools 还能直接打开对应组件文件?本文原理揭秘曾经写过以上这篇文章, 也是源码共读中的第一期(点击文末阅读原文直达)。这个功能如下图所示。欢迎大家来投票,你的投票很重要。如果不…

ux设计中的各种地图_UX设计中的格式塔原理

ux设计中的各种地图Gestalt Theory is the theory of visual perception and how our brain pieces together reality. The theory sheds light on how cognition factors into the way viewers read a piece of design. In the German language “Gestalt” means form or sha…

JetBrains下一代IDE:Fleet 公共预览版发布

大家好,我是若川。持续组织了近一年的源码共读活动,感兴趣的可以 点此扫码加我微信 ruochuan12 参与,每周大家一起学习200行左右的源码,共同进步。同时极力推荐订阅我写的《学习源码整体架构系列》 包含20余篇源码文章。历史面试系…

善用工具_如何善用色彩心理学

善用工具There’s a problem with my movement. Most of us in the profession of trying to change the world have little skills or training in the actual craft of influencing human beings to do stuff — especially stuff that is new to them such as composting, p…

看源码的第一步,我猜很多人搞错了~

大家好,我是若川。今天在江西人的前端群里,有个小伙伴问,vueuse 的 vitepress (也就是官方文档仓库)怎么搭建的,怎么都没有 index.json(引用的一个文件)。本文简单记录下流程&#x…

1.1编写目的_1.目的

1.1编写目的A friend of mine recently founded Secta Leagues. A company that organises sports leagues for working professionals, where companies play sports against one another in the same industry. The vision is to provide an app that allows interested comp…

Web 应用架构的下一个转变

Web 技术大概 25 年前开始萌芽,HTTP、HTML、CSS 和 JS 都是在九十年代中期首次被标准化的。直到如今,Web 演变成一个无处不在的应用平台。随着 Web 的发展,Web 应用程序的开发架构也在不断发展。现在有许多用于构建 Web 应用程序的核心架构&a…

ux和ui_设计社交餐厅策展应用程序— UX / UI案例研究

ux和uiSabor, which translates from “taste” or “flavor” in Spanish, is a concept for an iOS app designed to provide users with honest, reliable and relatable restaurant recommendations from friends and family. It is a social restaurant curation applicat…

你不知道的 script 标签的 defer 与 async 属性

我持续组织了近一年的源码共读活动,感兴趣的可以 点此扫码加我微信 ruochuan12 参与,每周大家一起学习200行左右的源码,共同进步。同时极力推荐订阅我写的《学习源码整体架构系列》 包含20余篇源码文章。历史面试系列。另外:目前建…

我是怎么调试 Element UI 源码的

我持续组织了近一年的源码共读活动,感兴趣的可以 点此扫码加我微信 ruochuan12 参与,每周大家一起学习200行左右的源码,共同进步。同时极力推荐订阅我写的《学习源码整体架构系列》 包含20余篇源码文章。历史面试系列。另外:目前建…

模板缓冲_模板缓冲以及如何使用它可视化体积相交

模板缓冲介绍 (Introduction) The trendy thing in real-time rendering these days is ray-tracing. However, traditional rasterization hasn’t disappeared, and it won’t in the near future. I recommend this blog post on the subject: A hybrid rendering pipeline …

重磅!哈啰 Quark Design 正式开源,下一代跨技术栈前端组件库

大家好,我是若川。我持续组织了近一年的源码共读活动,感兴趣的可以 点此扫码加我微信 ruochuan12 参与,每周大家一起学习200行左右的源码,共同进步。同时极力推荐订阅我写的《学习源码整体架构系列》 包含20余篇源码文章。历史面试…

b端 ux 设计思维_借助系统思维从视觉设计过渡到UX

b端 ux 设计思维“How can I switch to UX?” This is a common question from visual designers because there’s a lot of overlap on the surface. But it can also be a difficult transition since UX encompasses much more below the surface.“如何切换到UX&#xff…

三面面试官:运行 npm run xxx 的时候发生了什么?

大家好,我是若川。近期发现好些小伙伴工作有2-3年了,基本不会写脚手架,或者说没学过脚手架。对脚手架大致是如何执行的基本不太知道。其实这类学习资料真的挺多的。而且我们基本天天 npm run dev,应该学习内部实现。不知道的小伙伴…

figma下载_Figma的自动版式实用

figma下载Figma’s Auto Layout has been around for a while, but not everyone’s aware of the benefits it brings. It doesn’t replace constraints, they’re still very much needed. The trick is to use the right feature where necessary. I want to show you how …

Qt通过ODBC读取excel文件

之前替学校考试科用C Builder做过一个小的数据库工具,处理excel表格用的,现在想转换到Qt平台下来,在网上搜了搜有一些利用OBDC读取xls文件的教程: http://hi.baidu.com/kxw102/item/770c496d5736470ca0cf0f1d http://blog.sina.co…

真 · 三面面试官:运行 npm run xxx 的时候发生了什么?

昨晚没权限我只放了链接,今天联系开了白名单。昨天推文主要是为了投票,表明 Node.js 的重要性,有人评论是水文。今天重新转载下。欢迎继续点此去投票。投票显示有高达近80% 表示不太会开发脚手架,看来大多数人确实没有应用场景。可…

ovo svm_反思我在OVO担任远程产品设计实习生的时间

ovo svmIn a quiet bedroom accompanied only by the low humming of my laptop fan, I sat before a Google Hangouts meeting, and got to know my colleagues for the first time, unaware of the joy of a ride that was waiting for me at OVO Design.在一个安静的卧室里&…