We launched a new IT training category! Check out the 140+ courses now.

Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Exploring online transition and transform tools

From: CSS: Transitions and Transforms

Video: Exploring online transition and transform tools

Web Design is for me, a left brain, right brain affair. I love to approach a site visually, but I also need to work with it from a code perspective. CSS Transitions and Transforms similarly exist in both worlds, and sometimes it's hard to get just what you want by working in code without a tremendous amount of trial and error. Luckily, there are a good number of online tools that can help with the visualization side of web creation, while generating the necessary code. Let me take you on a brief tour of some of my favorites.

Exploring online transition and transform tools

Web Design is for me, a left brain, right brain affair. I love to approach a site visually, but I also need to work with it from a code perspective. CSS Transitions and Transforms similarly exist in both worlds, and sometimes it's hard to get just what you want by working in code without a tremendous amount of trial and error. Luckily, there are a good number of online tools that can help with the visualization side of web creation, while generating the necessary code. Let me take you on a brief tour of some of my favorites.

One of the hardest of the transition related concepts to visualize is that of timing function. As described in the Chapter 2 movie, Transition Options, the timing function property controls how the transition is applied, the default being the ease value. To help you get a better sense of what's possible with timing function, not to mention the code to make it happen, check out Caesar. Caesar lets you try different timing functions over specific durations and apply one of four properties. Let me show you how it works.

So I'll scroll down. So we have the main interface here, and you can see that the code is generated as well. So just starting with its default setting of linear Easing for half a second, as you can see there are four effects or properties here than we can change. I will click Left and the absolute positioning left value is adjusted. Now if I click it again, it comes back, and you can see the straight ahead path of linear. Well, let's look at another Easing option here.

When you open up the list, you will see that there are tons of options. The first five are the defaults, and we can easily try any of those. Let's go with an ease-in-out and click Left again. You can see a slight difference there. Now there are other properties you can try like Width, Height, and Opacity. I tend to like Left and Width most of all. Now where I get the most value out of Caesar is trying some of these other timing functions that are set up here, these so called Penner equations.

You might remember an earlier timing function, it started off really slow and then went very fast. Well, that's this one, easeInExpo. So let's try that moving the object Left, and that's what that's like. Let's bump up the duration. I will use a little stepper control here to go up to--oh, let's say 2 seconds, and have it come back. There we are. Now the best thing is, of course, especially with these more advanced cubic-Bezier timing functions, is all the code is generated for you.

So now if you don't like this exactly, you want something close to this, you can also grab the Bezier handles and adjust them. So let's say I want to make it not start off quite that slow, maybe something more like that, and I'll try it again. All right, that's getting there. Let me adjust this milliseconds to one second here, and make a further adjustment on the handles up here. So let's say if we can get it really sharp.

Now notice I can go outside of the box, and this will give me values outside of the 0 and 1 range. So I can create some really interesting effects, one more time. You saw a little hesitation there. You can actually get kind of like a bounce effect here, really nice! So there's a lot of different work that you can do, as I like to say, hours of fun at Caesar's place. Let's turn to another one for a more general app that addresses a broader range of CSS Transition and Transform functions. Visit CSS3 Maker.

Here you pick the category that you want to explore from the nav up top. Let's say like CSS transform, and then you can modify the property and get instant visual feedback as well as the code, which can be selected and copied or downloaded. So let's work with a specific property rather than all of them at once. So let me just go to Rotate, and as I grab and drag this, I can move it to a particular direction. Let's say I am looking for angle that looks like that. Now I'm not sure what that is, but if I look over at the code, I can see it's 60.

Here I have a tool that can help me visualize what a specific angle looks like, as well as the generated code. One point to keep in mind, CSS3 Maker is just a little bit old and outputs only the vendor prefix code. You'll need to add in the generic declaration yourself. If you're a tad more code oriented, there is also a CSS3 generator for you. CSS3, please! Here, there is a series of rules, and as I scroll down, you can see I have box_round, box_shadow, box_gradient, and then there's a group of them that are not enabled yet, and I can toggle the rule on.

So here I am with box_rotate where we have a transform/rotate function, and if I toggle the rule on, you can see it rotates to the particular degree. Let's say I was thinking of something a little more, and I want to try out something like, oh, I don't know. Let's say 15 degrees. You can see that rotation. Now at a certain point it does clip, but you can see the general effect of the rotation. Let's bring it back down to let's say 9 degrees. All right, that's pleasing.

Now I have my code here. I can copy either just the transform part of it, or I could copy the entire rule if I wanted to. And there is a bonus, you actually do get the equivalent Internet Explorer filter code, as well as all of the other transform code. Pretty cool! Speaking of Internet Explorer, if you really want to view your CSS3 transforms on an older Internet Explorer browser, take a look at the Transforms Translator. Here you can enter your transforms code. Let me scroll down just a little bit, including the Width and Height and then click the Translate button.

So let's just take their example and Translate to IE Matrix, you will get a visualization of what the object looks like after the transforms have been applied. In this case, we had a rotate, translateX, and scale applied, so all three things have happened over here. Now you have both of the CSS3 code with all the vendor prefixes and the Internet Explorer code, which does go on for a little bit of time. As the notes on the site mention, be sure to use conditional comments to isolate the IE code from your other CSS.

Since we are talking about the Internet, this is by no means an exhaustive list of CSS3 related tools, which should give you an idea of what's out there. New ones are constantly coming online, of course, so, check your search engine frequently.

Show transcript

This video is part of

Image for CSS: Transitions and Transforms
CSS: Transitions and Transforms

26 video lessons · 14536 viewers

Joseph Lowery
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed CSS: Transitions and Transforms.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.