React Animation with CSSTransitionGroup
lessonDuration 3m 7sFree
React.addons provides CSSTransitionGroup for easily implementing basic CSS animations and transitions.
Browse
Find courses, lessons, articles, talks, and podcasts.
423 results for "CSS"
Showing 409–423 · Page 18 of 18
lessonDuration 3m 7sFree
React.addons provides CSSTransitionGroup for easily implementing basic CSS animations and transitions.
lessonDuration 4m 24sFree
With Grunt you can automate core tasks for your AngularJS project. In this lesson we will take a look at converting Stylus files to CSS, and add a watch task to convert those files automatically whenever a change is detected.
lessonDuration 3m 52sFree
Angular 1.2 introduces new animation functionality. This episode looks at the very basics of getting the animation module loaded and using it to create your first simple animation with CSS.
lesson
Make an HTML table more readable on mobile devices by using the ::before pseudo-element. We add labels to each cell, so they appear like cards when the table is viewed on smaller screens. The ::before content is set using a data-label attribute for each cell to enhance mobile viewability without horizontal scrolling.
lessonDuration 1m 54sFree
When defining CSS-in-JS style to use JavaScript Object Notation, mixins can no longer return strings as they can't be added to the object. In this lesson, you will convert the `boxShadow` and `buttonSize` mixins that return strings to return objects instead and spread those objects into the style object we are applying to an HTML Element.
lessonDuration 3m 1sFree
We will create an interesting animated hamburger that can be used in websites. In this process, we will look at transitions and transformations in CSS3. **Further Links:** 1. https://codepen.io/tag/hamburger%20menu/ 2. https://codepen.io/designcouch/pen/Atyop
lessonDuration 1m 37sFree
Often times it makes sense to define sensible default styles for mixins. This way, the user can just make a call to the mixin and pass in any explicit styles that they want to override. In this lesson, you will learn how to convert arguments with default values as well as how to use default values with objects destructuring.
lessonDuration 1m 59sFree
Often times it's hard to remember which order variables have to be used. This is where the concept of named arguments is helpful. The exact same name can then be used inside of a mixin or function. To name argument in Sass, you need to put a name before the argument, a similar approach can be used with JavaScript functions. In this lesson, you'll see how you can pass in an object and use that objects keys as the named arguments for the function.
lessonDuration 3mFree
In this lesson we will learn how to animate SVGs(Scalable Vector Graphics) imported as React components. As most SVGs are built with different shapes and paths we can use this and apply specific animations to them. The whole idea is not 100% dependent on styled components as the same result can be achieved without using CSS-in-JS.
lessonDuration 1m 19s
GreenSock supports all of the CSS3 3d properties, so you can freely rotate around X, Y, and Z axises with rotationX, rotationY, and rotationZ. Once that's set up, you can tweak the perspective of the element with transformPerspective.
lessonDuration 2m 54sFree
Dropdowns tend to be difficult. The behaviour of `<select/>` element varies from browser to browser and it's difficult to add options to search the values, select multiple values at once, remove ones that have been selected one by one etc. Instead of reinventing the wheel, it's worth to use a well-tested, battle-proven solution like [React Select](https://react-select.com/home). In this lesson we are going to learn how to: use `Select` component to create a dropdown, convert it to a multi select input using `isMulti` prop, specify a default value using `defaultValue` prop and add custom styles using `styles` property based on CSS-in-JS.
lessonDuration 2m 23sFree
Next.JS works with any CSS-in-JS solution, including Styled Components. But to get it working with Next.JS's server-side rendering, you'll need to do some configuration. In this lesson I go through the steps required to get it working properly, including adding `babel-plugin-styled-components` to your project and overriding the `Document` page to inject your styles into the `<Head>` of the page. For reference, please see Styled Components' [guide to SSR](https://www.styled-components.com/docs/advanced#server-side-rendering), and the Next.JS [sample repository for Styled Components](https://github.com/zeit/next.js/tree/master/examples/with-styled-components).
lessonDuration 3m 1s
It’s possible to use React Transition Group alongside Styled Components. This can be useful should you want to use `<CSSTransition>` but are also taking advantage of the Styled Components library. In this lesson, we are going to take a look at the `styled-transition-group` library in order to achieve this.
lessonDuration 4m 40s
In React Transition Group, There are two components available to use for transitioning single children; `<Transition>` and `<CSSTransition>`. However, what if we want to transition a list of elements? For that, we need to make use of the `<TransitionGroup>` component. In this lesson, we’re going to use this component to transition items in a list of elements in and out of the DOM.
lessonDuration 9m 55sFree
In this lesson we'll look at all of the properties available to us with the CSS3 Flexible Box, or flexbox.