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)

Hot Topics

PHP Tutorial
1502
276
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

Configuring Document Metadata Within the HTML head Element Configuring Document Metadata Within the HTML head Element Jul 09, 2025 am 02:30 AM

Metadata in HTMLhead is crucial for SEO, social sharing, and browser behavior. 1. Set the page title and description, use and keep it concise and unique; 2. Add OpenGraph and Twitter card information to optimize social sharing effects, pay attention to the image size and use debugging tools to test; 3. Define the character set and viewport settings to ensure multi-language support is adapted to the mobile terminal; 4. Optional tags such as author copyright, robots control and canonical prevent duplicate content should also be configured reasonably.

Best HTML tutorial for beginners in 2025 Best HTML tutorial for beginners in 2025 Jul 08, 2025 am 12:25 AM

TolearnHTMLin2025,chooseatutorialthatbalanceshands-onpracticewithmodernstandardsandintegratesCSSandJavaScriptbasics.1.Prioritizehands-onlearningwithstep-by-stepprojectslikebuildingapersonalprofileorbloglayout.2.EnsureitcoversmodernHTMLelementssuchas,

HTML for email templates tutorial HTML for email templates tutorial Jul 10, 2025 pm 02:01 PM

How to make HTML mail templates with good compatibility? First, you need to build a structure with tables to avoid using div flex or grid layout; secondly, all styles must be inlined and cannot rely on external CSS; then the picture should be added with alt description and use a public URL, and the buttons should be simulated with a table or td with background color; finally, you must test and adjust the details on multiple clients.

How to associate captions with images or media using the html figure and figcaption elements? How to associate captions with images or media using the html figure and figcaption elements? Jul 07, 2025 am 02:30 AM

Using HTML sums allows for intuitive and semantic clarity to add caption text to images or media. 1. Used to wrap independent media content, such as pictures, videos or code blocks; 2. It is placed as its explanatory text, and can be located above or below the media; 3. They not only improve the clarity of the page structure, but also enhance accessibility and SEO effect; 4. When using it, you should pay attention to avoid abuse, and apply to content that needs to be emphasized and accompanied by description, rather than ordinary decorative pictures; 5. The alt attribute that cannot be ignored, which is different from figcaption; 6. The figcaption is flexible and can be placed at the top or bottom of the figure as needed. Using these two tags correctly helps to build semantic and easy to understand web content.

How to handle forms submission in HTML without a server? How to handle forms submission in HTML without a server? Jul 09, 2025 am 01:14 AM

When there is no backend server, HTML form submission can still be processed through front-end technology or third-party services. Specific methods include: 1. Use JavaScript to intercept form submissions to achieve input verification and user feedback, but the data will not be persisted; 2. Use third-party serverless form services such as Formspree to collect data and provide email notification and redirection functions; 3. Use localStorage to store temporary client data, which is suitable for saving user preferences or managing single-page application status, but is not suitable for long-term storage of sensitive information.

What are the most commonly used global attributes in html? What are the most commonly used global attributes in html? Jul 10, 2025 am 10:58 AM

class, id, style, data-, and title are the most commonly used global attributes in HTML. class is used to specify one or more class names to facilitate style setting and JavaScript operations; id provides unique identifiers for elements, suitable for anchor jumps and JavaScript control; style allows for inline styles to be added, suitable for temporary debugging but not recommended for large-scale use; data-properties are used to store custom data, which is convenient for front-end and back-end interaction; title is used to add mouseover prompts, but its style and behavior are limited by the browser. Reasonable selection of these attributes can improve development efficiency and user experience.

Implementing Native Lazy Loading for Images in HTML Implementing Native Lazy Loading for Images in HTML Jul 12, 2025 am 12:48 AM

Native lazy loading is a built-in browser function that enables lazy loading of pictures by adding loading="lazy" attribute to the tag. 1. It does not require JavaScript or third-party libraries, and is used directly in HTML; 2. It is suitable for pictures that are not displayed on the first screen below the page, picture gallery scrolling add-ons and large picture resources; 3. It is not suitable for pictures with first screen or display:none; 4. When using it, a suitable placeholder should be set to avoid layout jitter; 5. It should optimize responsive image loading in combination with srcset and sizes attributes; 6. Compatibility issues need to be considered. Some old browsers do not support it. They can be used through feature detection and combined with JavaScript solutions.

See all articles