亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Table of Contents
Authentic motion Real motion
Mass and weight: Mass and weight
Responsive Interaction Responsive Interaction
User Input
Surface reaction
Material response
Radial Action: Radial action
Meaningful transitions Yes Transition of Meaning
Visual continuity Visual continuity
Hierarchical timing
Consistent choreography
Delightful details
Home Web Front-end HTML Tutorial Material Design Animation_html/css_WEB-ITnose

Material Design Animation_html/css_WEB-ITnose

Jun 24, 2016 am 11:44 AM

Material Design Animation

Authentic motion Real motion

Movement flows gracefully The form describes spatial relationships, functions and purposes.

Mass and weight: Mass and weight

In the physical world, for an object to move, a force must be exerted on it On it. The intensity and duration of the force determine the acceleration or change of the direction of motion of the object. Even the most rapid start and end do not happen instantaneously, because the acceleration or deceleration of an object takes a certain amount of time. Therefore, When animations have abrupt beginnings or ends, or abrupt changes in direction, they can look unnatural.

Motion in material design should be as elegant as possible without losing elegance, simplicity and beauty. Close to realistic physical motion and real-world behavior.

Natural acceleration and deceleration

Changes in acceleration and deceleration should change smoothly over the duration of the animation.

For a specific purpose, to attract attention to an object, or to add features to an animation, you can change its acceleration at the beginning and end.

Asymmetric acceleration and Slowing down creates a more natural and pleasant motion.

When acceleration and deceleration are not smooth, the motion will appear mechanical, and abrupt changes in speed and direction will look jarring and draw attention. .

This is why asymmetrical curve changes are better than linear changes. Linear changes always have abrupt inflection points, so linear changes should be avoided.

Entry and Exit

Changes in the speed and direction of an object draw the user's attention.

An object changes speed as it enters and exits the frame , indicating the distance it moves.

For example, if an object slows down when exiting, it will attract attention, implying that it will stop not far from the outer border of the picture frame.

Especially , when making transition animations, you need to consider which part of the entrance or exit should get the most attention. A nearly constant speed should be used at both the entrance and exit to reduce attention.

Do not Speed ??up when entering and slow down when exiting. This will attract a lot of unnecessary focus and distract the user.

Make adjustments

Not all objects All move in the same way. Lighter or smaller objects can move faster because they require less force, while larger or heavier objects take more time to accelerate.

Use Curves type of motion, avoid linear segmented paths. Find the motion characteristics that best suit the object, and express them accordingly.

The curve represents a behavior over time within a specific range of values. Change. Find the curve that best fits the motion you want to describe.

Responsive Interaction Responsive Interaction

User Input

Touch, sound, mouse, and keyboard are equally important user input.

UI elements should all look touchable, and visual and motion cues should promptly acknowledge user input, and should animate in a way that looks like it is being directly manipulated.

Surface reaction

After receiving the input event, the system should provide instant visual on the touch point Confirmation clues, such as: where the finger clicks, the mic of the voice input, the appropriate field of the keyboard click.

The core visual mechanism to express this contact is: "Click Ripple", that is, "Touch Ripple".

The device expresses a click event method and persistent event, and can also be used to express other dynamic variables, such as volume or click pressure.

Best practice: From Starting from the input contact point (such as the contact point of the fingertip or the icon of the sound mic), the visual response spreads radially (radially, radially).

Material response

In addition to ink-like surface reactions, materials can lift up when clicked, indicating an active state.

By clicking, users can generate new materials, or Convert existing materials, or manipulate materials directly by dragging or swiping.

Materials can be resized linearly or radially.

Display animation during state transition: http://developer.android.com/training/material/animations.html#ViewState

Origin: When triggered by the user When a new material is generated, it should start from the input point and grow in size. This establishes a connection between input and generation.

Click to raise: when When a card or a detachable element is activated, the card should rise to indicate that it is in an active state.

Specify the height for your View: http://developer.android.com/training /material/shadows-clipping.html#Elevation

Radial Action: Radial action

should add visuals to user input Reactions make it clearer .

The visual ripple of ink spreading out from the input point is a radial behavior.

Input events are visualized: Input events The connection to the on-screen event should be visually bound. For touch events or mouse, this occurs at the point of contact. For sound, it is the microphone icon. A touch ripple identifies the touch event. The position and time also indicate that the click input was received.

Connect input and behavior : The transition or behavior triggered by the input event should be connected with Input events have visual connections. Ripple reactions near the epicenter occur faster than reactions far away, such as: 1. A series of content changes: many pictures appear or disappear; 2. A series of material movements: cards move in or out Screen.

Use the reveal effect: http://developer.android.com/training/material/animations.html#Reveal

Meaningful transitions Yes Transition of Meaning

Motion design can effectively guide users’ attention in both ways to inform and delight.

Using motion can: Allow users to smoothly transition between navigation contexts , explain the arrangement of elements on the screen, and strengthen the concept of element inheritance system.

Visual continuity Visual continuity

Between two visual states Transitions should be clear, smooth, and effortless.

A well-designed transition tells the user where to focus their attention.

Transition Type And behavior:

Incoming elements: Newly generated or newly converted items are introduced or re-created.

Outgoing elements: Elements that are no longer relevant to the context are removed.

Shared elements: Elements present during the transition, which can be tiny (an icon), or dominant (a gallery image that slowly grows to take up the entire screen).

Custom Activity transitions: http://developer.android.com/training/material/animations.html#Transitions

Notes:

When designing animations , pay attention to the following aspects:

1. Guide the user's attention. Where should the user's attention be directed? What elements and movements can achieve this purpose? During the conversion process, incoming, outgoing, shared How should elements be emphasized or de-emphasized?

2. Visually connect transitions. Create visual connections between transition states, either through color or persistent elements.

3. Use Precise Movement. Consider how to move a specific element to add clarity and joy to a transition.

Hierarchical timing

When building a transition When doing this, pay attention to the order and timing of element movement. Make sure the movement supports information inheritance relationships by establishing a path for the line of sight to convey the most important content.

However, this is not a simple formula to say the most Important things move first, least important things move last.

Time to transform elements should flow smoothly, avoiding a disjointed feeling.

Consistent choreography

The elements in the transition should move in a coordinated manner. The path the elements take should be meaningful and orderly. Accidental movement will distract attention.

When the elements in the transition are coordinated, it will Help users better understand the application.

Use curved motion: http://developer.android.com/training/material/animations.html#CurvedMotion

Best Practice:

1. Try to avoid linear paths. The exception is when movement is restricted to an axis, or when movement is toward or away from a point.

2. Keep directional elements moving during transitions Consistent. Avoid conflicting motion and overlapping paths.

3. How deeply do elements move and why?

4. If all moving elements follow their paths on the screen, Will it look nice and orderly? Can it paint a clear picture of where to look?

5. Emphasize the spatial relationships between elements through consistent movement in and out.

Delightful details

Animation can exist in all elements of an app, regardless of size, from a detailed icon to a key transition and actions.

All elements work together to build a watertight experience and a functional and beautiful app.

The most basic use of animation is during transitions , but an app can really please users if it can use animation in small places.

A menu button that can be turned into an arrow or play button, controls a smooth transition, and has two functions at the same time: Notifying the user, it also makes the app itself full of surprises and design at this moment.

References

Material Design Animation: http://www.google.com/design/spec/animation/authentic-motion.html

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undress AI Tool

Undress AI Tool

Undress images for free

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Applying Semantic Structure with article, section, and aside in HTML Applying Semantic Structure with article, section, and aside in HTML Jul 05, 2025 am 02:03 AM

The rational use of semantic tags in HTML can improve page structure clarity, accessibility and SEO effects. 1. Used for independent content blocks, such as blog posts or comments, it must be self-contained; 2. Used for classification related content, usually including titles, and is suitable for different modules of the page; 3. Used for auxiliary information related to the main content but not core, such as sidebar recommendations or author profiles. In actual development, labels should be combined and other, avoid excessive nesting, keep the structure simple, and verify the rationality of the structure through developer tools.

What are the essential HTML elements for structuring a webpage? What are the essential HTML elements for structuring a webpage? Jul 03, 2025 am 02:34 AM

The web page structure needs to be supported by core HTML elements. 1. The overall structure of the page is composed of , , which is the root element, which stores meta information and displays the content; 2. The content organization relies on title (-), paragraph () and block tags (such as ,) to improve organizational structure and SEO; 3. Navigation is implemented through and implemented, commonly used organizations are linked and supplemented with aria-current attribute to enhance accessibility; 4. Form interaction involves , , and , to ensure the complete user input and submission functions. Proper use of these elements can improve page clarity, maintenance and search engine optimization.

Implementing client-side form validation using HTML attributes. Implementing client-side form validation using HTML attributes. Jul 03, 2025 am 02:31 AM

Client-sideformvalidationcanbedonewithoutJavaScriptbyusingHTMLattributes.1)Userequiredtoenforcemandatoryfields.2)ValidateemailsandURLswithtypeattributeslikeemailorurl,orusepatternwithregexforcustomformats.3)Limitvaluesusingmin,max,minlength,andmaxlen

Implementing Clickable Buttons Using the HTML button Element Implementing Clickable Buttons Using the HTML button Element Jul 07, 2025 am 02:31 AM

To use HTML button elements to achieve clickable buttons, you must first master its basic usage and common precautions. 1. Create buttons with tags and define behaviors through type attributes (such as button, submit, reset), which is submitted by default; 2. Add interactive functions through JavaScript, which can be written inline or bind event listeners through ID to improve maintenance; 3. Use CSS to customize styles, including background color, border, rounded corners and hover/active status effects to enhance user experience; 4. Pay attention to common problems: make sure that the disabled attribute is not enabled, JS events are correctly bound, layout occlusion, and use the help of developer tools to troubleshoot exceptions. Master this

What are self-closing tags in HTML? What are self-closing tags in HTML? Jul 02, 2025 pm 02:55 PM

Self-closing tags are elements in HTML that do not require closed tags because they do not contain content. Common examples include: ① Insert pictures; ② Add line breaks; ③ Create horizontal lines; ④ Define form input; ⑤ Link external resources; ⑥ Provide metadata. These tags work through attributes such as or. There are two correct ways to write: standard HTML syntax, such as XHTML style, but HTML5 recommends the former. Note that you cannot use self-closed form on labels that require the package content. If the error is wrong, it should be changed to a correctly closed Hello. Proper use of self-closing tags helps keep your code simple and efficient, and improves compatibility with other tools such as frameworks.

How to group options within a select dropdown using html? How to group options within a select dropdown using html? Jul 04, 2025 am 03:16 AM

Use tags in HTML to group options in the drop-down menu. The specific method is to wrap a group of elements and define the group name through the label attribute, such as: 1. Contains options such as apples, bananas, oranges, etc.; 2. Contains options such as carrots, broccoli, etc.; 3. Each is an independent group, and the options within the group are automatically indented. Notes include: ① No nesting is supported; ② The entire group can be disabled through the disabled attribute; ③ The style is restricted and needs to be beautified in combination with CSS or third-party libraries; plug-ins such as Select2 can be used to enhance functions.

Adding captions and tracks to HTML video and audio elements. Adding captions and tracks to HTML video and audio elements. Jul 02, 2025 pm 04:05 PM

To embed video or audio with subtitles and audio tracks into a web page, it can be achieved through HTML native functionality. 1. Use tags to add subtitles files in WebVTT format and set the kind, srclang and label attributes; 2. Support multi-language subtitles through multiple elements, and use the default attribute to set the default language; 3. Multi-tracks can control multiple element switching through JavaScript, or use more complex media extension solutions; 4. Pay attention to browser compatibility, path configuration and format verification to ensure normal operation on different devices and provide backup solutions.

Debugging common HTML validation errors. Debugging common HTML validation errors. Jul 03, 2025 am 02:41 AM

When encountering HTML verification errors, you must first clarify the problem and correct it according to the specifications. 1. When the required attributes are missing, the src and alt and a href of img should be completed; 2. When the tag nesting is incorrect, the structure should be clarified and the tags should be closed correctly to avoid confusion in nesting block-level elements; 3. When using invalid or discarded tags, you should refer to the MDN document to replace it with modern writing methods, such as replacing center and font with CSS; 4. When character encoding problems, add metacharset="UTF-8" and ensure that the file is saved in UTF-8 format to solve it.

See all articles