Animations Transforms & 3D Design with CSS for UI UX | Jazeb Akram | Skillshare

Animations Transforms & 3D Design with CSS for UI UX

Jazeb Akram, Data Scientist, Web Consultant

Animations Transforms & 3D Design with CSS for UI UX

Jazeb Akram, Data Scientist, Web Consultant

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
37 Lessons (3h 3m)
    • 1. Promo

    • 2. Intro to Course

    • 3. Introduction

    • 4. Transition Speed Options

    • 5. Cubic

    • 6. Translation on Axis

    • 7. Scaling

    • 8. Rotation

    • 9. Combination

    • 10. Skewness

    • 11. Rotation WRT Origin

    • 12. Frame Model

    • 13. Perspective

    • 14. Perspective Origion

    • 15. 3D Translation

    • 16. Adding Transition Part 1

    • 17. Adding Transition Part 2

    • 18. Adding Hover text Banner

    • 19. Adding Transitive User Responsive text

    • 20. Cinema Scalling

    • 21. Form Scalling Part 1

    • 22. Form Scalling Part 2

    • 23. Dynamic Coloring

    • 24. Spining Image

    • 25. 3D Fliping

    • 26. 3D Cinema

    • 27. Spining a logo Part 1 till CSS with starter

    • 28. Spining a logo Part 2 till End

    • 29. Creating Animated Header part 1

    • 30. Creating Animated Header part 1

    • 31. Image Gallery Part 1 Introduction Preview

    • 32. Image Gallery Part 2 till Rotation

    • 33. Image Gallery Part 3 Completion

    • 34. Image Gallery Last Part 4 Summary

    • 35. Social Media Buttons

    • 36. Plate Part 1 Trans Complete

    • 37. Plate Part 2 Complete Animation

  • --
  • Beginner level
  • Intermediate level
  • Advanced level
  • All levels
  • Beg/Int level
  • Int/Adv level

Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.





About This Class

Learn modern CSS3 cool Animations Transitions and Transforms with 3D Design by building 14 real world Cool Designs.

The objective of this great course is to take someone who is using old design and teach him New animations and Creative 3D Design by building 14 Projects.

 CSS3 Animations Transitions and Transforms  are way to  easy with right directions, i'll show you everything step by step from scratch.

Course is decided into two parts. In 1st parts it will teach you building blocks and in 2nd part you will see the practical implementation of 1st part.

in this course student will learn

  • Transitions Transforms Animation and 3d Design with css
  • Professional skills to build  Beautiful Creative Designs
  • Complete projects that will teach you everything you need to know to get started with css 3D Design.
  • Learn  web design ( a must-have skill in today’s mobile world).

Enroll Today!

Lets start together.

Meet Your Teacher

Teacher Profile Image

Jazeb Akram

Data Scientist, Web Consultant


Jazeb Akram is a Data Scientist and has been working as a Developer consultant. He has been working as a Freelancer since 2011. He designed various applications for many companies and also training individuals on development tools and languages. Jazeb Also has a university degree in computer science from the University of the Punjab, Pakistan, and a master's degree in Data Science from Western Sydney University, Australia.

You can read his full portfolio on his website


See full profile

Class Ratings

Expectations Met?
  • Exceeded!
  • Yes
  • Somewhat
  • Not really
Reviews Archive

In October 2018, we updated our review system to improve the way we collect feedback. Below are the reviews written before that update.

Your creative journey starts here.

  • Unlimited access to every class
  • Supportive online creative community
  • Learn offline with Skillshare’s app

Why Join Skillshare?

Take award-winning Skillshare Original Classes

Each class has short lessons, hands-on projects

Your membership supports Skillshare teachers

Learn From Anywhere

Take classes on the go with the Skillshare app. Stream or download to watch on the plane, the subway, or wherever you learn best.


1. Promo: Hi. Welcome toe An emission, strong storms and three D design course. My name is John Graham and I'll be your instructor throughout the scores. In this course, we are going to learn transitions, transforms and emissions and PD design deck and has user interface as villas. User experience on that I have divided discourse into two parts building blocks and projects. In first part. We are going to look into some of the building blocks that are necessity, design any missions and transforms. And in second part we will build some projects. The projects will move from easy to complex design. Let me show you some of the projects that we are going to build in this course. First, we will kill year this transitive tax image we will have. This cool user is sponsor effect so that when I use our war on any of the paragraph, he will be able to see this effect. And then we will see how you can add transitions on your forms like this. And after that way will work on scale. Morning. In it, you will see a diversity installs and in next project, I will show you how you can get here this purple tax banner on your content on a fly. And after that we will create our picture gallery like this with the lightning effect on right and bottom side. And then we will see transitions in a very smooth and fine like this. And then we will create this'll CD slip guard from scratch. And after that I've ensure you how you can create CD and emitted header like this, in which you will learn different PD styles on all of this. Three D animated Hera will be birth only by CSS without using any bootstrap or complex Jolla script. And in next project, we will create this awesome picture recovery. As you see, there are many pictures lying on the screen in a very rough but on who are user will be able to see are very smooth and fine effect like this. And then I will show you how you can increase user experience on your Web by adding cool and emissions on your social media buttons like this. And after that, we will create this cool animation clay artifact in which you villain different styles and animations. As you see there is picture slides going on in our inner plate. All of its CSS and Ed lost. I will share some online. Resource is from there you will be able to Kenya CD and emissions like this and many more. The best thing about this course is you will have all the according exercises, and I will show you each and every aspect off the scores in a riel coding environment. This court is for designers who got tired from or design and for prisoners who never worked with an emissions and transforms. If you have just basic knowledge off STM Oh, and CS us, then you are welcome to join. So do you have Morgan Animation idea? If yes, the let's transform your idea into a real world design, see you inside. 2. Intro to Course: before we start, let me give you, Ah, a brief introduction to the scores in discourse. First, we are going to look into what are the transitions, how it works and how to use it. Then we will see the difference between simple whole effect and transitions. After that, I will show you transition. Brother Sport means Vic browser sport our transitions and which don't. Then we will look into some of the transition speed options, and also I will show you how you can create your own transition speed option. Then we will see some transition dealers, and after that we'll move to our to the transformation, and I will show you different type off duty transformation in details. Then we will move toe three d transformation and I will show you different. Three D modeling By using, you will be able to create awesome treaty and emissions and then we will talk about frame modeling. What is frame Morning? How to use it. And after that I will show you basic and emission syntax with also an emission properties. And then we'll learn about CSS, an emissions browser sport in which of the browser and emission sport and in which off the brothers you have tow add alternative court. And finally women dig in our projects. And approximately, we will make more than 14 projects in this course. So are you ready? Yes. Then let's dig in. 3. Introduction: Hi. Welcome to my course before we start two years, our own transitions. There are some concepts that we should family of it. And first of all, that is. What are the transitions? Transitions? Definition is CSN's transitions allows property changes in CSS values to occur Samoud Lee or a specified duration. This definition gave by W three C, and it's kind off complicated. So let's make it easy to understand. CSS transitions canteen the style off CSS values in a smooth V or a specified duration. You can say that CSN's transitions brings life to your of a page is I hope you're all familiar with the whole effect. I have this anchor tag and I gave it color off RGB something. And if user who are on that anchor tag, then it's going to be give the color off black. So let's see. No, If I who were my mouth on this burden, you can see the whole effect. This is because we use a whole effect on it. We cannot control that duration off this hovering effect, but we can mortified that anchor tag. The the worst years has transitions we can see. Apply a CSS transition property on the background and make the transition duration Toby one second and we leave the rest off these properties off background as it is. So let's see it. No. So now, after applying transition on this anger time, you can see we successfully control the holding duration. But before there was no restriction on over. So this is the very get access on our different CSS properties by using transitions almost in every browser. CSS transitions do sport. You can see we have this properties for every single browser. Mozilla Firefox, chrome opera, Fire like that and CSS transitions are almost work in every single brother. I have opened this upside off can I use and in which I search transitions. You can see we can use our transition in almost every single browser. You can use it in Andhra Broza, Oprah, not opera Mini Rus Safari, Oprah, Safari, chrome, all versions off Chrome and Firefox. Microsoft Edge. But there are some problems with Internet Explorer 10 and there earlier versions. These transitions pretty much work in every brother, so using a CSS transition could be a better thing for our webpages. 4. Transition Speed Options: hi. In this movie, we are going to see different transition speed option. The first transition speed function is ese function, and that is by default function. The next transition function is linear function, and in linear function, our transition will work in, ah, constant speed deter transition speed option is, is in in ease in speed function, transition star slow and then speed up. The four twenties is out, and it is opposite toe is in function and in ease out function transition start fast and then slow down. The fifth transition option is easing out. It starts slow and then speed up and air the end. It's store down again. The third is in, and the 5th 1 is in out is kind off similar, but easing is more like a speedy function. The sixth option and last option is cubic Benazir. That can take ah four value from a user. You can customize this cubic best year according to your own need. Cubic. Benazir give you a right to define your own timing for transition speed, and it's four. Perimeter is like Ah, four point in which you can make your transition fast and slow. No, here is the practical demonstration off our transition speed functions or options, and 1st 1 here is linear transition speed function. And if I, who were my mouth's on this linear boss, then you can see that this box is moving in a constant rate. So this is linear transition speed function. The second speed function is ease function, and it's by default transition speed function. And if I hold where my mouse on this box, then you can see it start very fast and then slows down. And if I Unho where you can see the same effect while it's coming back to its original position, tired auction is ease in function. This function is start very slow and then speed up. And if I unhurried it repeated the same effect that it did before the fourth auction is ease out function. This option is going to start very fast and then slows down and it will repeat the same effect. When I Unho word, it will start fast and then slows down. The fifth option is is in our function. It started slow speeds up and then slows down. This fifth option is in note and third option is in option is acquired the same but is in function is more faster than is in our function. The last function is cubic best here and it operates on four perimeter points that ah user can give. It starts very fast and then slows down. You can customize this cubic best year according to your need. We will explore it further this cubic busier. So we have seen the practical demonstration off transition speed functions. Ese linear is in is our is in out and cubic busier. The next part that we are going toe cover in this lecture will be delays. You can give transition time and delay according to your need. It's in taxes transition than colon on time coma delay like if you want to give time off three second and you want your transition toe complete in three second, then you will put it in as a first perimeter. Three seconds and then you can add the delay between two transition by giving it delay off , Find five second, or you can differentiate both time and delay separately. You can say transition delay to be one second similarly transition time. Toby. Three seconds. Whatever you need No, This one was the example that I already showed you and the hair we have transition. This transition will start after 0.5 seconds and it will complete in three seconds. And if I assure you it scored is right here. And I have include position, time and transition. Delay in Von Line on your sin taxes, rep Kit transition colon All all means transition time and transition delay. So this was the example that we have done before here. This transition will start after 0.5 seconds after the 1st 1 and it will complete in three seconds. So if I hope where my mouse on this box, this transition will start after 30.5 2nd See, there's a difference. And if I know where my mouth on this transition that this transition will going to start with no time and this tradition will complete in force again. So let me over this one for you. This one is starting without any delay. This one is starting without any delay. This one is starting without any delay, and it will complete in four seconds. No, the syntax off cutting off transition today from your transition will be in this lecture one part to transition court file. We just have to mention transition all and four second. And But before we have this 0.5 2nd it means that it was taking Find five seconds for the next transition. Toby start. So these are these transition speed options and the difference between transition delay and transition time. 5. Cubic: So I have opened this rap side cubic dash busier dot com and ah, this website is very handy. You can come on this upside and ah, Jews, the cubic Benazir that you need to do while seeing your Southport. So this red one is belong toe this keeping busy here And it's also showing the graph on the left side. And this blue one is just the simple leasing or linear, or is out something function like that? So that started You can select their duration that you want. I have selected this to burn three and that started. See this linear? First of on focus on this blue one. This linear is moving on a constant speed and now it's time to see this red one. And if I go again this preview, then you will see According toa these values this box is giving us some bones. See, you're giving us some bones. This all due to the custom value off you big, busier, you can change the value whenever you like. So I have this random value kind ofs Katie, it started again. See? It started slow speed up and then slows down again This cubic brassiere, Redman. So you can come on this upside and Ah, check it out, Onda. You can slack the speed that you need and then just copy paste this cubic best year values from here and at these values into your court and you will have the transition speed that you need is your school. 6. Translation on Axis: day long, we have seen the transition, speed functions, transition time and transition delis. In this lecture on now on, we are going to explore syntax. Off to the transformation to the transformation is the one that work on our two dimension X dimension and why access? It's very simple. You just have to mention transform colon function. Name off which function you are calling for to re transformation. There are many to the transformation functions. We will explode it and then in the Prentice's you can pass perimeter. So first, for the transformation that we are going to see will be move some object in X y direction according to your need. It's in Texas. Transform, then translate. This translator is a function name and then we will pass to Perimeter 20 p x and 30 p x means transform our object and translated at 20 p x x axis and 30 p XVIII axes. You can also give them individual. You can say translate X capital X at 20 p x and translate. Why are 30 p x? No, here is the court. Let me go through it for you. I made a class off translate on via axes and I have given it were toff 1 50 p x and simple margin for some CSS stones. And in here I have defined one style for this clause and I Assad. If a user active mean click on it, then you can transform our class off. Translate on via axes at 3 50 p. X and in here first. I have this actual intact than this Peter. And inside this p tag, I have this div that is calling the class off translate on X axis. And I have just passed one image football dot p and G and give it some Berto fire. So when a user click on this football image, then it will going toe change the position according toe y axes 3 15 p x. Now let me show you it's or put in a browser. So this is the image that I showed you football dot PNG. So if I clicked on this image football, you can see it's translating at via axes 3 50 p. X. So this is the booty transformation using translation air XX is or y axes, you can add it on XX is let me translate it for you, so I'm going to cross state it XX iss and I have to mention it right here. Let's save this and the fresh in a pinch. Now, if I click on this image, you can see it's translating out. XX is C So this is the way you can translate any object on XX is or via axes. 7. Scaling: continuing duty transformation. This was the basic syntax, function, name and perimeter. And in this election, I'm gonna show you the second to the transformation function. And that is Skilling. You can resize any object along XX is or via axes mean. You can change its vit or height on a click on a whore on any specified action, and its syntax is quite simple. Like before you have to mention transform. Then you can give scale and then you will give to values First will be weird and second will be height. Or you can use the scale function for individual weird or height, But remember one for same size. So if you want your object not to be changed, you can pass scared to be one comma one. And if you want to double the object and you can pass to coma to and it will double the original size and fined five is four making weird or higher Toby half. So in this example, right here transform scale 40.5 come a 0.5, it will going toe victor and height half. So here is a practical example could and in here I have mentioned one class off scale on both axes and I said transform scaler to come are to means double divert and height off class scale on both exes and I also have defined some more classes for showing you individuality. Off XX is and by axes and I have mentioned transformed X axis 1.5 mean a little bit greater . And in here I have mentioned this class off via axes scale on by access and in which I have said scale Levi axes means scale the heart increase the heart and made it toe to means double. And in here I have three button first burden will be operated on board. XX is or via axes. 2nd 1 will be on X axis and 3rd 1 will be on via axes. Now let me show you it's or put in a brother running a chrome. Now you can see first we have this burden And if I hold where my mouth on this register number and you will see that this Burton will going Toby double. It's very and height, see, And on this boss I have given Onley xx is so there will be no change in their side. But they will be a slight change in X wit. And in here the third burden I have given it via axes, Toby Value off scale like to So it will double the original hard. But there will be no change in X X is see changing both access Changing XX is and changing . Why Exes? Onley? So this is the scaling into the transformation. 8. Rotation: deterred duty transformation function will be the rotation function. You can rotate any kind off figure at any degree that you want. You can give it positive angle or maybe minus angle. You just have to repeat Dustin tax transform than colon, then rotate as a keyword, and then you can pass any anger that you want. I have given it 45 degree. Here is the practical example. Off rotation. I have this rotation class, and I have given it worked off something for CSS styles, and in here I have put Vantive and inside this Div. I have called the class off rotation, and in this day I have given it Ah, football image. So when I will hold on this football, you will see it will going toe rotate. But remember this football will going to rotate at 90 degree because I have given it 90 degree as a perimeter toe. This rotation function. So let's see it in a browser. And here is this image, and you can see on this image to my website name, Jazzy become dot com and ah, it's in a plane form. And if I hope where my mouth on this image than you can see that this has become door. Tom is rotated at 90 degree, so this way you can rotate any kindof object. 9. Combination: You can also combine the transition with your transformation very easily, and it will be more cooler than what you think. So I have opened this combination off transition and transformation. Example file and you can see first I have the such one. This PCs are some simple styles, and then I have this translate on by access mean this transition image I have given it. Some were high background color margin and some border, and also some border radius. It means that this will be a circle on the screen, so let's first seat are put on the screen. See, this one has the very tight and due to border, it takes the shape off us circle. And in here I've also created some style for whole effect. So when I user who over on that circle it will going toe, transform it and translate it at 5 to 30 pixel. So Vaart's we have here in this simple glass. We have this transition, and in this whole class we have this transform mission, and in here first I have this actually bag be dag, and then one link that cubic dash busier dot com and I have chosen the keeping busy value from that website. And in this Dave, I have just simply call the translate on via CSIS class. So when a user who were on that class means this circle having these stars, it will going toe gee, this in tow this do the Khobar effect and combined the transition with this transformation . So let's seeding Bozano. No, I'm going toe Khobar on this circle. Then you will see that this circle first used transition off three second and function off you Big Benazir with this defined values and then translate our circle at 2 30 picks of on via axes. And I have shoes on these cubic bestir value from cubic dash, benazir dot com and these customizable values ville going toe give our circle a little bones. So let's see it. Let's over on it. See, there is a little bit bones and this circle is translated ERT wire to 30 pixel. So this is the position off vie to 30 pixel, and this circle is moving with this transition off. Three second cubic, Benazir and you are seeing this little bit bones just because off this customizable value see bunks, bones right here. So this way you can combine transition and transforms and can cleared. You're awesome and emissions 10. Skewness: using two D transformation. You can also add Souness at AC sexist or Y axes. Similarly, you have to mention transform than skew as a Cheever. Then you can give it any angle that you need it to be done. You can give it a positive anger that I have given 45 degree or you can give it angle off negative. You can also change this Kunis according toa X axis or via axes you can say skew. My object at XX is with the angle off miners 45 degree or skew my object at via axes video degree off minus 45. And in here I have this image off status after dark PNG, in which I have this image on this image status D dark PNG. And this is also an image and in here in the court, file off schooners. First, I have this Dave off class skew on X axis, and then I have this class off skew on via axes, and I have put two images in these Dave separately. First, I have 40 status after PNG and give it somewhere and then in class off, skew on via axes. I have given it status T door, PNG mean Twitter with Berto 5 50 p x. And in here on XX is then our user who were on my image. It will going to transform it in X X is with the degree off minus 20 and similarly on via axes right here. So let's seat in a Broza. So these are the images that I showed you when I hope where my mouse on this first status after dark PNG image. Then you can see it's going ape on extracts is with minors 20 degree. And if I hold my mouth on this next image off state Asti Dark PNG, then you will see that it will going to skew at via axes with the postive 20 degree angle. So this is the way you can skew any image or tax using skew function. 11. Rotation WRT Origin: we can add or region in our to the transformation. We just have to mention transform and the origin off percentage. And if we mentioned 50% and 50% it will going toe transform our object in a center. We can also give it in pixel value and made transition region expensive. IQ place all our you can made that origin off any object at any position you can say left bottom or top left or anything like that. So here is the practical demonstration off rotation with the region. And in here I have this rotation class warfare torm some margin. And here if I use a click on this rotation class, then it will transform our region top left and rotate our transformation at 90 degree. But according Toa this stop left origin and in there I have this football image in the class off rotation. Nothing changed, so their seed in brother. So here is the rotation and transformation with respect to origin off top left. So if I click on this football, then you will see that it's rotating at 90 degree at top left and in here. If I teen that rotation from top left Toby something in person days, like 50% or 50%. It will going toe fix our origin at the center, but it will rotated 90 degree. Let's save this and seating Broza. Now our ball will be rotate at 90 degree, but it's not going to change. There's origin because we set our origin at this center. Mean 50% and 50% see, So this is transformation with respect, toe or region. 12. Frame Model: starting three D transformation. There are many possibilities with transitions and transforms, but it don't have a degree off control. We can air the degree of control using key frame statements and an emissions. It can add the degree of control, and also it will allow us to add more traditional and emission techniques. In our website, you can air the code off key frame statement in internal or external style ship. It can be for mated, either percent, eight base value or keyword example on the right side. So here this key frames name statement will be my an emission defame statement can be used as a loop. You can give it value from jello to color, red or green, or you can divide your loop in tow. Percentage based 0%. Toby Greene, 50% to the yellow and 100% to be read and animation properties are added to the CSS rule. For the selector Toby affected Just like transformed property, there is a shorthand version that commonly used let's see the most commonly applied syntax . First, you have to mention an emission Cheever than my an emission. This my animation will be same as the key frame statement that you have mentioned last. The next will be a duration and third part will be in accretion count. It can be 1234 or up to infinity. The last part defined the direction. Actually, art in it means an emission will go back and forth. The other possible value can be normal with directing an emission from start to finish. There are one most important kiddo. Your animation name will be same as your key frame statement name. You can apply the dressed off the function as it is. You can give it an emission duration it really. We can bees in seconds on in milliseconds, or you can define the I attrition Count. 123 or maybe infinity. Or you can also give it direction. Normal. Ordinary. You can give it timing function same as transition, timing, function, delay or time. Or you can give it individual timing function like animation, timing or animation delays. It's very will be in seconds or in mili seconds. But before using key frames and statement, you should go on. Can I used or calm and see the brother sport, which brother that can sport our G frame statement and rich north. So going can I use dot com and check it by yourself? 13. Perspective: for letting yourself see three D transformation fast. You need a TD container and then you will be able tow R D placement in it. For that, you need to define some perspective in which your three D ship will going to show. So the mid range for perspective is from 202,000 and 500 pixel, or more than 1000 will be far away in your TD container and the last the perspective will be closed in the treaty container. So here is the Perspective Court and first I have defined key frames, an image. I have applied it on perspective, and I have given it to values from zero person 200%. So this perspective will be have two shapes are zero person or at 100%. And on zero person it will be at 1200 pixel and at 100% it will be 100 pixel. Then here I have defined this example box. It has some very tight and I have mentioned it up perspective in it. You can leave this perspective or region as it is in this lecture. I will describe it in next lecture, and here is the important part. This example box is the same as the name off our key frame statement right here, online salmon and in here online 39. So this is same as our key fame statement just going to connect our animation with key frame statement and then five second for its time. Then I have called its transition timing function and I have given it Blue Valley off infinite and direction Toby ordinate And in here I have created one object in which I have made it preserved. TD means make our boss our three d container to preserve TD functionality. And in here I have defined two types off boxes Box one and Boss one before. It means that there are two shapes off every shape. Let me show you first Here is its or put you can see there are twos, type off shapes in our three D shapes. One is this one back one and the other one will be this before one. So let me make it more clear it for you. So if I change this box one box one means this one box to mean this one and box streaming this one so if I have changed Abagnale off this box one Toby insert off are to be something like, Let's change it toe black. Let's say this and sitting Broza, I have changed the box. One not be before one box, one That's professional. Be now you can see, then decide of box one is black, and this before side have the same color that it has before changing the background to the original color. Save this so this one is one shape off box one, and this one is other shape off. Bosman and I have also applied one transform property to our box one, and it's rotating and the degree of minus 45 degree on this before shape has a degree off 90 degree. It means that this one has the degree off minus 45 this shape this three D shape has the degree off 90 degree. Similarly, the rest one box to and then box to learn before Box three and before means to shapes. And in here I have just simply call our Dave Box one, Box two and Box three. So let's save this siege in Bozano. So using key frames and perspective treaty container. Our shapes are moving from 1200 pixel toe 1 20 pixel in five seconds. Let me change this 1200 to be 1 20 or something like that. For that, I have to move toe off a key frame statement. It's right here. Here, you can see 1200 I'm gonna taint 1200 Toby. 150. Let's save this and seeding Rozenhal. See, there is a little bit changing off position, and it's very slow. No, just because I have chosen the very close value for key frames. And if I undo it back to 1200 refreshing that bid. Now you can see the movement is fast. So this lecture is just for the concept off perspective and using key frames and how you can define your CD container. 14. Perspective Origion: like the Transformation Region. You can also give your perspective some origin, so 50% 50 person will be in the center, 25% and 50% will be mid upper left, or 50% and 100% will be in a center bottom. It will meet your perspective, move according toa, its origin. So here is the example image. We don't have any kind off origin, and you can see it's moving right as it is as it was moving before in the last lecture. Nothing changed. And if we add the perspective origin 50% and 100% then this transition will be moved in center bottom according to its origin. So here I have mentioned it's origin 50% and 100% means center bottom. And now you can see this transition is Jane from this. So this. So if I go back to my court and change its perspective, origin Toby 50% 50% then you will see that it's going toe work according to center off the original, refreshing the page, see completely change. So this way you can select your perspective, origin and teensy working off your three D transformation completely 15. 3D Translation: in three D transformation. You can also translate any kind off object X specified position. But there will be our difference between two D and three D, and that is the Zed X is in three D. We have said axes, and we can translate our object in a three D using Zed X is so we will be able to move our object in X, y or Z direction using three D transformation. First we have to mention transformed. Then we can say translate T d and then we can pass three Perimeter xx is 20 p x vai axis tardy PX and Xanax is minus 40 BX all we can say Translator x 20 p x translated by 30 p x translated Z minus 40 bucks. So here is the same chord that we have seen before. An inert object. I have used this translate Z property off transformation at 40 PX not save discern Seeding . Broza, This is the same court that we have seen so far. So this is the cord without any translation off that access. And this is the court output that is with translate at Z axis. Completely change and it's coming right on the screen. So, like to the transformation, we can also rotate any object in PD transformation with the angle we can say transform colon Rotate creedy than we can pass X 20 by 30 there 40 pixel, 40 direction and 45 degree. We can also give it angle image. Our object can be rotated, or we can rotate. Some object at XX is 10 degree or via axes 15 degree or that access 20 degree up to you. How you want toe choose it and seem like Cody transformation. You can scale any kind off object in X environ direction mean it's replies or height wise. Transform skill. Three. D Find five at X axis to mean double the original scale at by axis and 1.5 a little bit greater toe original size or you can say scale X Find five means half the original scale or double the original scale at by access or increase a little bit at Zach, Texas seem like scale off duty, but with three d, you can define it in X y or Z direction. 16. Adding Transition Part 1: Hi. In this lecture, we are going to do some transitions and make our website attractive and we will use many functions off transitions. So first, let me show you what we are going toe do in this lecture. First, we have these list items right here and you can see there is no over effect on them. And here we have these fears on which also there is no hope or effect. So after applying some transition, we are going to convert it in this form. You can see the whole war effect cool over effect with transition control and ah, here You can also see the image background image on our list items and over effect with transition control. So it's pretty much a simple idea. So let's do it. So first, we need to find out on which line these CSS scores belongs. You can use grown do Alberto, or you can use five fox developer toe. It's right here in the upper Mort. And here is Web console. And first you need toe slack. This inspector and first, we are going to change these link items. I'm going to click on this and you can see that we have these section door links, Ally, and we want to change these and lies anchor tags. And it's on in line 42. Inland means on same home dot as demon file. So back to my Anita Online 42 you can see that our links style is starting. And ah, we need to define some style for this anchor tag. So first, I'm gonna copy this whole one and paste it right after it for our our styles. No, I'm gonna change these style for our whole effect. And ah had his Hohler. And in here in this images folder, let me show you in this home dot html file we have this image is fuller. And here we have this cool pattern dart PNG file. Now I'm going to give this patron as a background to our list items so we don't need this background color here anymore. So let's changer toe background. You are because I'm going to give it veteran. I hope you are all familiar with the basic CSS styles. If you're not, then you should go on my bill professional upside to this team of Five Seasons three and from scratch and Lund basic CSS that images fuller contain our image and its name is patron dark PNG airstrike hair patron door, PNG. We don't need to change these times, so lots leave it as it is known, we need to define transition that can effect on the background off these list items and change its background to be this one. Okay, so first we need to mention vendor prefix for different browser first Web kit transition, and we want our transition toe apply on background color. So now we have to mention background dash color, and that's give it some timing and I want to complete it in one second. This is timing function, and after that I can mention any transitions bead function. So for now, I'm gonna use this ease function, and now we need to mention the same transitions for some other browser. So 1st 1 we have toe change this one for Mozilla. So I have made this transition to be work on Mozilla browser and then this one. I need to change it for opera or for Oprah and the vendor prefix for all the transition here. So I have applied our transition on background color but I haven't gave it color any color . So now I'm going to give it background color on which our transition will going. Toby apply and I'm going to give it color off something like RGB a 1 60 years coma. 88 Coma 1 63 Common one. Okay, Oland, let's save this one and a Syrian brother. Now See, now we have this school effect off transition background, image and background color on these list item isn't cool. No, the next part is we are going toe. Add the same transition effect on our these fields. And for that, let's move again to our five Fox Inspector The only style for this name Field is in home dot CSS file online to 53. So let's move back to our editor here. I have this file off home Nazi SS and from line to 53 here the styles are starting from here 1953. No, we need toe. Apply transition effect on background color for these fears. So first, same thing that we need toe define vendor prefix for different records. Browsers rep. Get transition and background color and low. Let's give it some transition timing function. Let's make it 2.75 and the transition speed option. I have selected this ease function. And also we need this one for different browser, so less based it right after it Here, exchange it for Mozilla maws for opera. Oh, and for simple No, let's save this one out. And Syrian brother first. Nothing changed because we just applied transition over on over field. We haven't applied it on focus or on horror on something like that. So here is over focus statement that we already have and in which I'm going to give it some different background color. RGB a Okay, in order to save this Aaron sitting browser. Okay, If I type something in it, you can see it's black. We can also change your sculler toe something other for that Here I have to mention color and I can give it color off white or anything like that. So I have given it discolor, you know, Let's save this and seeding, brother. No, see, So our condition is working perfectly on both our links and ah on our fears. So this is the way you can increase your user experience by some awesome transitions and timing function 17. Adding Transition Part 2: so it seems that our links are working quite fine, But here is the thing that we have applied this transition on Onley background color. So what if we apply it on every single style that is holding in this list items. So let's do it. I just have toe remove this background color from here and I'd have to mention this all all means all these styles, everything for wait font color, background for family and style like that. So let's copy this one from here and based it for our other browser vendor prefixes. Let's say this and seating Broza. Now see, nothing changed, but you can see that this Texas coming right at the hole In fact, we can modify it something more. And here you can see that we have this phone size one part of an E m. And in here we have this one point funny em to solar exchanger to 1.3 AM and we can give it also some padding from the left side so that we will be ableto see some sliding effect on our list items. Nurse, give it 25 PX burning from the left nor saved this one out and refreshing the page. See, now we have more cooler effect than the previous one. Now our transition is working quite fine on background as well as the phone size as a last , the petting. 18. Adding Hover text Banner: in this lecture. We are going toe do some attractive work. So we're going to create this Benner Capacity banner and you can see that it's color and the throat Disa pastie banner. You can see the image behind it, and you can clearly see the actor hand and little bit is had throw this capacity banner and ah, this is pretty much cool and what we are doing here. We are putting this text right on this image, and this text is using a pass ity. But it's not simple who were effect. It's transitive transition capacity effect seeing. So we are going to put these headings on these images. It's very a simple idea. So first we need to define one class that can have the capacity transitions. And then we will define one more class for our heading, and we will connect our heading with that transitive class to Let's Move Toe Auditor and the long Let me show you this court home daughter schema File Court And here we have this one, Dave off image boxes and in home dot CSS file. I have defined some style for image boxes. These image boxes are these mobile shapes. This is not important. What's important is inside this Dave Off emit books. First we have this Pitak, this P tank right here. And then we have this simple image. Then we have Dave. And inside this we have this heading and we want Oh, apply some style on heading and want to move it on transitive capacity banner. So this is our task. First we need to define one class, and I'm gonna call this class. Name will be class off status. First, we need to give her some absolute position. We don't need any kind off margin from the upper side for this class alerts make it stop to be 0%. And next thing is, we need to define hi for our opacity, Benner. And we want it to be 100 person, as it can take for heading and opacity. Initial value will be zero because we want to control it. Throw Vap kit transition. Now, this time we want oh, apply over transition on capacity banner so I can mention opacity right here, then opacity, timing function for transition. And then I can mention the simple function is easing Whatever I want. This time I have chosen. This is And now we need toe copy this court from here and paste it for different vendor prefix browsers. Onl exchanged a court for Mozilla Moss for opera. Oh, and for just simple. OK, now we have done our first class off status. We have done our capacity work this opacity work. Now we need toe Picower heading this heading from here and move it right here on the screen and you can see it's color is change and we also need to define some style how much we want to give it margin from its stop. And we want to give her some petting and some victor. So let's move toe our status class. This time we want to effect our hash, too, heading for status glass and first thing first, let's give it some background color. I have given it bag non color off this purple one right here, this banner and you can see that this one has taxed off heading right. So let's give it color off white and that taxes in centres or text line Toby center. Now we need to give it some margin from the top. Let's give it marginal 1 30 p x and some birding, and we want to cover the background for all the votes. So let me get severe, Toby. 100%. Okay, Now, the next part is we need to define the basics status class who were effect. So first this glass off status And when a user who were on our class off status, then it will going to give it a pass ity off 0.8 person so that the user will be able to see the image behind this capacity banner this g e a and you bottom shape from this capacity banner. But that's why I made it. It's so past you to be less like 80% wanted mean 80%. Okay, now we have done all the things. No, let's save this and back to homes or text email file on. Do we want to effect our this as two heading. And here we have this stiff in which I'm just going toe call the class that we made so far off status. Okay, Now, let's save this one out and browse in. Brother, I have applied it on this one. Okay, Now, here's the problem. You can see that this banner is not covering our whole very stuff. Our image and by the inspector you can see that we have the image. Wait 300 pixel right here. So we need to meet our status class very with this one equal. So we need one more class right here, and I'm going to call this class. Status is an image I'm just going to give it. Were toff 300 pixel, same as they were. Tough. Our image. Let's save this one out. No, I need to mention this new glass. This status is glass here. They know. Let's save this and seeding Rosen. Oh, great. Now we have the same effect. And ah, we don't have any effect on here because we haven't mentioned the class. Not here, not here. So let's go toe Anita and copy this class from here and paste it in every single Live off as two heading starting from the second position from here, right here, right inside this deer and just want herto pair here. I can only say this and season, brother. No. Cool. We just moved over heading on this image. Great 19. Adding Transitive User Responsive text: I in this lecture, we are going to do this style. You can see we have this teeny tiny phone size in our footer and it's difficult to read. But when a user when I who were my cursor on this tax, you can see that our tax god big. So we are going toe and also our Dev fuck with our new phone size and made this footer and also the text bigger. And remember, this is not just off over effect. You can see that this transition is this whole effect is gradually becoming big. So this is the cool fact about this lecture. Okay, there started first moved. So our known effect file and, uh, developer to inspect the element where it is and you can see it's in the divorce. I d footer and let's go back to West email. Cold. You can see we have this Dave off i D photo right here and in here. We have the speed ago. Leave on Peter and some text inside this Peter. So we need toe strike on this footer. And this Peter moved back to my home dot CSS file. Now I'm gonna create one style for our P tag inside to develop for the first, we need to mention our death and that Dave name has the i D off footer and we want to change our pitak on horse. So we want toe select the Peter. I get a selector. No. First, we need to give her some foreign size initial phone size. Next, give it phone size off zero parents Salmon E M. Let's make it more tiny and let's make its text align Toby Center Because you have seen that this one is not in center, it is left to justify Okay, Next part is we need to define some rep kit transition for phone size because we want our phone toe go big or small. Then I user whore on it and I want to give it this time 0.5 2nd as our transition time and transition speed function is function. Next, copy this one out, basted for other browsers. Changing the vendor prefix for different browser. Okay, All of them? No. We have defined for simple Peter. No, we need toe change the style for our who would effect. So when a user who were on our be tag inside the developed footer. It's going to go big with deformed size from 0.7 e m o For in size. Let's say 1.2 e m. What one. Um not saved this Aren't jacket in Brazil? No. Okay, here we have this footer. See no large student. Find Fox the same effect. Okay, This way you can made your text very small and can increase it gradually by using transitions. 20. Cinema Scalling: in this video. We are going to design this effect. You can see it's using this scaling. And ah, also there is one cool boss Shadow effect honors right side and honors Bottom toe end One more thing. When one image is coming on the screen, the other one that is behind the current image will not going to show. So this preference is very cool. And we will are this preference to in our court. So first move toe five Fox developer to from here. Well, console first. We need to inspect it on this image is in body devore Apted main content and then developed cinema. And here we have this image in the idea off. Sema moved back to my editor and I have this divide the cinema online number 1 30 So now we're going toe get Yates some style and make our this image death in tow. This school scaling effect image do so here is my CSS file. And first I'm going toe align these David a center first. I have to mention its i d. And this Dave has the idea off cinema first mentioning the idea off cinema and in here I'm going to make these images in a center for text line. Should be center are saved. This seating brother first. See? Okay. No, the next parties. I'm going toe Select the image thirties in send him a div and add Martin around those images. See? No, we need to define transition for our image to remember the drill Vap kit transition. And this time, insert off. Striking on some specific. I'm going toe strike on all the things in this image. So I'm gonna leave this as it is. And then I need to specify some dealer and I give it five second and then some ease function. Copy this, son again. Based it for window prefixes. Change it for render prefixes. Okay, Organ. We have specified the transition property for our image. First large student Broza. No, nothing is on the screen because we haven't used any kind off transform or any kind off scaling property. So now I'm gonna kill year style for a works NMR deal on Horse state. And in here I want my all the images to go back So again wept get transformed property off scale, and I'm gonna give it scale off 1.5 and the scale will be a little bit bigger. Dandy Original Size off this image. Copy this one out for vendor prefix for different browsers. Yes. You dried after it, Jane, for browsers. Okay, you know that saved this urn. Si Jin Broza. See, now we have this scaling effect on all the images, but there's no books sort of effect. So let's get a good boxer defect for that. Need to mention again. Vap kit Box shadow and I want to give on top and left three picks a boat and bottom and Andy right side five pixel. Copy this one on based it for different browsers for Mozilla and for opera. Okay. Before adding the vendor prefix, you should family of it the availability off. Different fact in a browser, you should go on. Can I use dot com and such? The property that you want Toe Jack Killer to save this scene, brother. Now I see no, on the right side and bottom. There is a little bit shadow effect and just look great. Okay, here is one part Sometimes your brother don't support these guide off effects. So you should add one VEP kit back face visibility and make it hitter so that in any case, if your brother doesn't sport these kind off effect, it should translate it in another form. Instant off, Dropping all the effects and an emissions. So we need to define hair back. Face visibility here to let's make it hidden. Save it out. Great. Check in and Firefox working great like a sweet candy. 21. Form Scalling Part 1: So this is this killing effect that we have designed in our last lecture. In this lecture, we are going on do the same thing but with some modifications. So here is the mortification. You can see this orange box that this one has some Skilling without holding effect. And if I hover my mouse on this, you can see the further scale. And on these one you can see the further Skilling. But there is no initial scaling without any hovering effect. One more thing on these book, Norbert on you can see this Kunis effect and also some books shadow effect. And here you can see these Kunis effect also both share the effect. Plus the whole war effect is controllable means I have added some transition on it, so let's do it. But first, let me show you what we have. Right now we have these simple boxes without earning Skilling and without any controllable que nous transition effect Solar's back toe Our firebug Firefox tool to is the inspector and you can see that all of the boxes are inside this rap. This wrap class and this rap loss is on line number three years even home door to see us as far so let's move toe a deter. Here I have this wrapped class in my home daughter. Extremophiles. Here it is my second rap class. And here is my tired wrapped loss means third box that you are seeing this third box back toward each other. It is my home, not CSS file and online 3 81 I have this rap, and now I'm gonna add some Skilling and books Sheriff act on over wrap loss. But no, I'm not gonna create all these times from the beginning. I just have to move to my cinema image. Khobar Class, where we have created some style solar Skopje All off these style, these transformation both share effect and back face visibility from here and but before doing that, not Skopje over simple transition from here and more to line number 3 81 where we have over a plus and large pieced over transition here. Next part is we need wrap pork loss and in which we are going toe Add our Skilling as well as Bosher. Effect moved to cinema image. The style that we have created in last lecture copied these one hour from here. And let's beast it in our wrap poor class right here lacks Dickie's. Our scaling to 1.5 to 1 fine. Three. Saved this one out and see Jin Broza refreshing the page. Okay, now you can see we have this scaling effect and everything is working Perfect. Fine. But the page that I have showed you in which we have some initial scaling without any hovering on this orange box, right? Like this one. For that, I have to create one more class, and I'm gonna call this class off wrapping next, copied the style from here and paste it right after it. And I'm gonna call this class. We're happy, and head is the thing. We need some scaling with our any whore. So let's copy these transformation from here and paste it in the class off wrapping. That is, without whore and Gina scale from 1.3 to 1.1. And also we have to mention the rapid class in our esteem a file and I have showed you that this one is our first blue box. This one is our second orange box. And this one is our third blue box. So what we have to do here? We have toe apply the new style on our this orange box and this orange boxes inside these two boxes off rap. So let's change the orange box clause to be happy right here. Let's save this one out, OK? No, let's save this one to know. Let me go through it again for you What I have done here, I have added the new class off ready in mid. I have mentioned killing effect that will be without any whore. So if I use our whole were on this rapid class than it will going toe exchange a scale from 1.1 to the scale toe one point. So that's why user will be able to see some initial scaling effect without any power. So let's save this one out and refreshing the page. See, now we have this school without hovering, scaling effect, everything working fine. But here is one more problem. When I who were my mouth on this blue box, you can see that we are having the skinning effect. But this orange box is add different. So we need to move this orange box backwards with the ball that we are over in right now and that is this blue box for that. I have to mention that index moved back to my reader. So here I have this wrapped glass in which I have to mention our third index, and I have given it value off one. And in the class off rap, who are I need to mention the gator value for is ended, Lex and also made it position Toby, Relative varieties at index value should be getting in this whole class because the higher Zad indexed greater value will going to decide which class will going to be show at first. So let's give it, then the index value to be to and also make its position. Toby Relative, Save this one out, sitting brother now holding this blue box. Now you cannot see the orange box when you are whore, this blue box just because off the index and placing the gator value in over class and also the position to be relative the same thing with our rapid glass we need to mention that index hair to actually already next defined the priority which come first, on which come at back greater value off the index and position to be. They are giving homework class. Oldham. No, Everything is working. Perfect. We have this shadow also this killing and perfect scaling. 22. Form Scalling Part 2: no next parties. What? We need to do it right here. We need toe. Define schooner style for our these book. No buttons for that. Move back to my Rita. Here I have this blue button. First I need to mention rep get transition. You know, the rail copies went out based it right after it, changing the vendor prefix for different browser. So I have applied the transition on everything off for our blue Burton and I have given it transition duration Toby 0.75 2nd And I'm using ease function right here. Now, in the holding class of blue button, I just have to transform it by using Souness property VEP get transform And I'm owned my blue button Toby skewered X X is so exciter And also I have to give it some angle and in this case are given it angle off 20 degree. So let's save this one out. Sitting brother Now See, now we have cool transition are also schooners with 20 degree angle hair toe. I don't have anything on this orange button. So let's copy all the transition from here. But before doing that no, we need to give our blue button some box shadow effect with this random color at right and boredom position. That's copy this one out from here and change it for when the prefixes. Okay, let's say this one out. And she didn't Rosenau seeing. Now we have also this shared effect on our blue button. Now, we don't have anything on this one in Britain, so move back to my Evita. Here I have this orange Burton. So first, I have to copy this transition from here from the blue button. And let's be state in our orange Burton glass. And one more thing, I need to apply this Kunis effectual or Skopje This schooners from this blue button hole our class and be state in over all in the Burton horror cloth. Right here. Let's say this one or two seed in broad channel. See, everything is working fine and perfect 23. Dynamic Coloring: I in this movie we are going toe design this blinking slider color effect. If you can see on my screen the color off my screen is gradually changing and it's kind off blinking right at user And also the heading this heading 2016 film festival showcase with this color that is changing around Onley body off this deal. So this is very, pretty much cool effect. I'm giving you 10 seconds to think about which kind off basic or building block I'm using right here. Your spine start no are done. I hope you find a solution. Yeah, I'm using right here key frames. And I'm giving some values in key frames and changing the color off our heading and background gradually by using key frames. Okay, This is the original farm that we have right now. And if you use this developer toe are fire FARC Inspector, you can see that this Dave has the i d. Off content. So moved back to my editor online 1 39 Here I have this Dave off i d content that is containing all the things here. Okay, Now we need to define some style for that develop content Move back to my CSS file. Now we need to define key frames for our background. The first we need at key frame for racket, then the word key frames. And then we need to give this key fame some name. And I'm going to give it name off background because there is going to affect our background. And in here I can pass it either percentage based value or either Cheever based value. And I believe that percentage values are more handy. So let's use it for 0%. I've owned my background color, Toby. Same as it has an initial point. Nothing change. Okay. For 25% I've owned my background color. Toby this for 50%. I wanted Toby This you can choose whatever color you want. If you are not familiar with different notations off color, you should go back and ah, check my course off. Esteem learned CSS and learn all this stuff that is needed to be a designer. And for 75% I want my background color. Toby, this Okay, now we need to copy this key frame and based it for Mozilla changing right here. Copy again and pasted for Oprah copping again and based it for general key frames. So I have defined give frame for background. Now I need to make one animation off name, background for the developed content. Let's first mention our death and then it's I d content. Then we can give it some initial background color. Let's give it white color and now we need to give it wept it Any mission? Four hour VEP kit name. And that was background and an emission timing function. Then, for how many time you want your background color to repeat, you can give it 12345 or you can give it infinite. And if you want your style, Toby back and forth and you should give it direction off ordinate. Let's copy this one out and paste it for other render prefixes for Mozilla for Opel and the D fort one. Okay, we have done our work right here. And here's the thing. I need to correct the spelling off Infinite. And this alternate not say this one out an issue Didn't Broza see now our background is changing gradually. Now we need toe do the same thing for our heading right here back to home your CSS file or need to define some key frames for our heading Rapkin key frames for heading Known you to give it some color value 40 person for 25%. 50% 75% and 100% No, let's give our heading some color that she was this time rgb notation this RGB background for 0% and discover rgb background for 25% discolor for 50% and discover 400%. Let's remove this 75% from here. Okay, on our seaver d color that we have given 40% discolor for 25% same color for 50 person change and 400% not saved this one out. No, we need these game frames like before for other browsers, for Mozilla, for opera and far simple. No, the same thing that we have done for animation off the for content. We need to define some animation right here for these heading so fast this day. Then we need toe changing color off our heading as three. Then we need to give it some initial color. No, we need toe define its VEP kit and emission and that key frame name was heading and let's give it 22nd transition timing and seem infinite. Time and alternate back and forth copies went out and paste it right after it. Changing the render prefix for Mozilla, for opera and for the D four simple process, not save this looks. You didn't, brother, No changing the background and also only heading great. 24. Spining Image: Hi. In this lecture, we are going to design this effect. You can see the rotating and also this killing as Allah's, the cool sky blue border at right and bottom. Plus, you can see this images in ball shape, and when you hold it, you have some border at it. Bottom right, bottom left, top right and top left. So we have Lord to cover in this lecture. Let's dig in. So first thing first, I have to move to my Firefox firebug tool, Inspect DPJ element. And ah, you can see that these image boxes is inside the div off glass image box. Or move back to my editor here I have this class off def image boxes and this is my home door CSS file. So let's get a year. Some start for it. First, I have to mention the deal and that they've had the class off image boxes and we need to change style for over image. So we need to mention our image as an selector right here. First thing. First, let's give it some transition and I want toe apply transition on all the limits off this image box class and let's give it some transition timing function as to be fined five seconds and use transition. Ease in function. That's copy this one out and pasted for other vendor prefixes. Changing it for Mozilla Jenning it for Oprah and for the department. Know we need toe. Define some style for our def. Off class image boxes and image for horror State. Let's copy this one out and change it for holer, and we want our images to transform using the rotating and scaling function. So what we have to do here we need vac it transformation property for bold for Skilling and four rotating. You can do it in a separate line, but it will be better if you use it in Vineland, both rotating, and Skilling saved the lines. Copy this one hour from here and paste it for other vendor prefixes. Changing for Mozilla for opera and 44 basic one. Okay. Before doing anything further, let's save this one out and city in Brazil. No flushing the page. See, now we have also Skilling as well as the rotating effect. But here's the problem. Do toe nor specifying these add index and position to be relative. Let's make it position using, said Index, and I have given it the value off one in without offering class and in hair. Give their index value to be to and also make its position to be a relative so that we will be ableto see the whole content because right now our images not appearing right at the screen, it's hiding back some off its right question, and it's boredom portion behind other images senala. It's refreshing the page and see it with the mortification off their necks as villas position to be relative. See now our image is not hiding behind the other images. Everything is working fine and perfect. One more style. Let's air some capacity right here and let's make this a past you to be a 0.8 and in her class, let's make it toe complete one. And also let's add box shadow effect on our whole class with this amount. Five PX five PX and eight p XV particular off 27 Double A E. One Copy this one out. Basted for other browsers. That's a this one out Syrian brother. No, see, Now we have this school box shadow, blue fact, and also our capacity is working fine with your partner capacity without over complete one capacity with the hope for one more thing. You can give it some border at bottom, right, left and top. So let's give it border bottom left radius and let's make it toe. 25 PX. Also border board, Um, right radius to be 25 then border top, right Toby 15 border top left to be 15 as well. Sit this one out, Syrian brother. Now see, you know we have also the border effect on hovering and, ah, it's going back when you unholy or it working fine and sweet. 25. 3D Fliping: designers all always love toe fire, new features to increase user interface and user experience. So in this lecture, we're going to see one great example off user experience by seeing three d flip guard. If I hover my mouse on any off the image that is showing, you can see ah three d effect. And while Unho over the effect coming back, the flip guard is spinning at its why access and in start off showing the picture is showing this secondary item and that is text. And when I Unho where it the first picture is coming back and second refit guard going on. So this is the effect for sporting browsers. And if you brought it in, nonsporting rosary will have do the effect and start off this three D effects. So let me show you the court. So in my hometown esteem a file I have three Jascha file. So first online 12 I have this latest version off G query Next on line 13. I have included J query Basic easing library to smooth out are non ceases transition and online 14. I have this latest version off modernizer that will tell brother our brother sport. Three D CSS transition or not so by modernizer, the brother that sports are three D Transition will show us flip card and brother that don't sport three. D Transition will show us a slide. So from lines 16 I have this function in my script attack and online. 17. You're saying, Jacque, if our browser sport CSS three D transformation If yes, then remove the class off, slide and add plus off flip. And if a selector with our class flip over it, add the Kloss and remove it. And if the brother does not support three D effect, then the cord online 28 will come up and hair with nonsporting brothers. It gonna show simple sliding effect by court from Line 28 to Line 37. But we will work with Firefox and Chrome, so this upper chord from line 17 to Line 24 will gonna use no before moving. Go CSS. Let me show us Deimel structure. So Dave off idee upcoming movie info Online. Land 79 has all the movie slide for each movie slide. We have va nested Dev off class movie description with image and one more Dave off in four with heading and paragraphs. So this image is one front shape and this heading and paragraph is other flipped shape that we show you in. Brother, Here we have this image in movie description class and ah, on hovering. We have this text and paragraph on info clause. So back to editor moved to our transition door. CSS file. So here I have four line off court for order browser. There does not support three D flip so that a user can see slide effect. But for newer brother no, let me add style for it. So now first, we have toe add perspective so that our image Denver perspective is parent element that allows something toe act in a three D form. So I'm going to add one class off movie flip right here, and I'm going to add perspective off 800 pixel blocks. Copy this one out and paste it for other vendor prefix browsers. Changing it for Mozilla, for opera and for simplicity. Fort one indented. No, we need toe target, our Dave off class movie description that hold our image and we have to connect our disk class off more description with this new class off movie flip. Now I'm going to add transition property in this new class that connected our perspective with our movie description that have image and on flip effect. Our image is transforming itself. So I'm going toe effect our confirmation with our transition and transition duration off one second, Copy this one out, based it for other browsers, changing it for Mozilla Oprah, etcetera. So we have defined our transition and apply it on transformation. Now own transformation. We want our image toe activity. That's why we need to make our transformation style toe preserve three D functionality mentioning transform style property. Oh, Pisa, TD. So I have made perspective and then connected this new movie door flip class with this movie description class that have our image and nested description. Then, using transition, I'm transforming our image. Vidi transformation style off three d. There's why Piece of three d right here. Okay, now we need to connect our movie flip guard with this info class that has heading and paragraph so mentioning here in four class, and also we have to connect our movie dot flipped loss with our Java script cord because back in homes or extremophiles. Javascript cord. You can clearly see online 21 that we are applying the flipped class on our movie description class and start off applying info close. That's why we have to connect this DAR flip class with our info clause. No, we have to mention rep get transformation. Rotate at via CSI's property with the angle off miners vanity degree that can move our image toward left side and our tax at right side. Copy this one hour basted for other browsers. Let's save this air suiting Bozano Seeing now our three D flip guard is working fine, But before ending this lecture, you should know that some off brother don't sport this effect. That's why we have to add one statement that can make our browser back faced visibility to hit him. So I have added for information. And now for our image. Do you just Stedman for avoiding other browsers? Mess, Say this one out and I have applied it for information class info close and our image effect is working still fine, Great 26. 3D Cinema: if you have ever seen three D phone than you would be familiar with the three D effect that come right at the user like this. So we use G Fame statement and Skilling function toe make this three D effect that come right at the user. So let me first show you home daughter's team of file structure our three D gold star from line 1 49 Here you can see Nestor def docks with this series off. Images in it did if tag online 1 63 ce cover hold the image that is currently viewed an online 1 67 The diff tac with class T E front. Hold the bat off image. There just have been transitioned and same like online 1 60 years. The diff tacked ee back have the image part that is ready to transition. This all handled by ah, large amount off JavaScript and all the JavaScript is done by this site. They have done very great work with transition and C s A studio and three d transformation . So now let's see our CSS here. I have this transition door CSS file because we are going toe add scaling function That's why we need perspective. Kloss. So let's add perspective cloths with the name off t e perspective, and I'm going to give it perspective off 1000 pixel. Let's copy this one out and based it for other vendor prefix browsers. Changing it for Mozilla, for opera and for some burly for fun. So I have added 1000 picks up perspective values so that our image won't be break up while showing the three d effect. No, we will use key frame statement and we were gonna use just two key frame statement at zero person and 100% video pastie off one and zero, respectively, Solar's and our key frame statement right here. I'm going to give it name off. Go three D 40% capacity, Toby one and 400% capacity, Toby zero. And inside our key fame statement Video opacity off 100%. We should add Vap kit transformation Skill three D property with X Y and Z excess five value. So I have added three value off XXXVIII axes and Zed X is all for five times because this way our image will appear right at us. No, copy this funnel and paste it for other browsers? No. When you took all our key frame statement for our front class off B E friend mentioning our key frame name and that waas good three d, giving it 0.4 2nd transition duration and ease in our function. Copy this one out and paste her for other browsers. Changing it for Mozilla opera for simple Now, one more thing. We should adhere back Face visibility so that in case some brother don't sported they can not see any distortion on the screen. So making back face visibility to be hidden. Okay, so I have applied an emission on our t front claws. No, I have toe make our t e back class to preserve three D functionality four transformation style. So with this back fist visibility in our tea in front class this t e back piece of theory class will also gonna help us to reduce errors now lost property toe Add in t back loss and that is set hours ahead. Index Toby one, Let's say this 10 say this 12 and teaching Broza. See, it's working fine and perfect. So all off this three d effect was done by the pure hard work off off this core drops time nous site because they are the one who created the CSS style. And we are the one that used their styles to create and make it happen to show us this three d effect and one last thing to remember, Whenever you add images in our class off P E images, you should remember that all off your images have same vit and hide all of them. And if anyone off them have the different width or height than your effect will going to be distorted on the screen, so remember that. 27. Spining a logo Part 1 till CSS with starter: Hi. In this lecture we're going to design our spinning three D logo so that when the user hold on this spinning logo, he will see the three D effect like this. And then he unheard it. He will see the opposite direction. Effect Select started. First, we need to create one Dev Off Rapper in which we are going toe add perspective. And inside that Dave we will add one more death image. We will have this back man image. So let's create one perspective div right here inside this Devo fighting header and I'm gonna give it class off Outer Rapper and in this perspective there first we need one image . But before doing that, let's add some style for our outer Ripper. So mentioning the i d. Order rep a right here, let's give her some wit and margin to be in center and make its position. Toby Relative. Next thing is, we need to mention the perspective because we're going toe spin our image in three D form, and that's why we need to mention the perspective. Basically, perspective is apparent element that allow some Children toe play inside the home so you can think off perspective as an home. And ah, you can think off some image or logo as a child. And let's give it perspective off. 3 25 p x copies were not pasting it for other render prefixes indented. Okay, we have done our outer rapper for perspective and in here let's mention its I d. Toby perspective as an auto rapper. Now we need to place one image. So I'm going to create one day off I d going. You can call the I d to be logo or anything that you want, But I have used the society of local right here. So instead, off messing around with the stance. Let's career I really off coin and in here I'm gonna add one image. And in this image is fuller. I have this Batman logo dot PNG image that we are going to use so giving it the right part giving it were turned height saved this one out and she didn't Broza. No, I see. Now we have this image right here. Now we need toe grab this image from here and and move it at the top right here, using positioning. And if you are not familiar with the positioning structure. Then you should go back and Seema the Complete each team of five seasons. Three course and you will learn. Ah ha lot off positioning So we need toe. Define some positioning style for this idea. Off going so move back to home door to CSS file. Here I have this idea off going and first I need toe. Make it position to be absolute and are just a margin Toby in center. And let's move our image to stop. So I have given it this top value Cdn brother. No seen our images in Dar but it's not in the center, so let's movinto center. Let's air some left Positioning Toby to 70 p x. See notes in center position hundreds Perfect. No, what we need to do we need toe add transition delays and transition timing function. So I'm going to use cubic best here. Move back to my Aditya first in this glass off going, I have to mention transition property and apply it for all all the things that is in the I d off coin and I'm gonna give it five second as an transition timing and cubic best year. Vidic custom values you can use. Easy is out is an out function whatever you want. Larks Copy this one out and pasted for other vendor prefixes for development, for opera and for Mozilla. And also, we need some transition delay because we don't want our transition. Toby, start right, Wenger User, Hold it. Okay, Oland No, We need to create some style for over horror State mentioning the I d off going for how our and I need to use transformation property so that when the user over on our image, there's going to rotate. You can use the rotator acts or rotate amped. What? And indeed apprentices you need toe pass the angle and I'm giving it 3 60 degree so that you will be able to see the complete rotating effect. Okay, Now let's save this. Aren t gin brother? No, let's hope whatever image see? And when you know where it is coming back just because off all the rapper perspective three D perspective 28. Spining a logo Part 2 till End: You can also team the direction off your spending logo by adding negative T 60 angle. You just have to put negative with your angle and you will see the difference but changing its direction. See now our spinning low grease moving in opposite direction as compared to the previous 11 more thing. You can also increase the repetition off the spinning logo by adding more angle. So if we have 3 60 right now, we can change it by adding one more. 3 60 We can make it salmon 20 3 60 plus 3 67 24 4 repetition Because 23 60 angle you will have to repetitions. But with 7 20 you will have four repetition and also with 1400 degree angle, you will have eight repetition. 3 60 plus 3 60 means four repetition and 7 20 plus sound. 20 means eight repetitions. They're saved this one out. Now we will have four repetition on our spinning logo. See, you can increase his reputation by adding more and more angle. One last thing for cover in this lecture. As you know, the CSS three is a presentation layer, so whenever you need some functionality. You should need toe Add Jake Pretty or JavaScript. I think it will be cool if when a user browse your page, you're spinning. Image will going toe lord automatically without hovering? You can do that by adding one simple gee equity line function Solar's first energy equity and then we will use the equity function. Move back to my home Toward Esteem a file Unless Advantage Equity CD in content delivery network file part here. So we have added R J equity. Nor it's time we should write some specified geek really function. So first we need to select our whole document and inject Pretty. We use this dollar sign for selecting something, and we want toe. Apply it on brows when I user broads of Rep. Ege That's why ready here and we want to call one function on ready and independence off function. First, we need to select our I D. And that I d. Name Waas going this logo image I d coin and I want to add one class on this I D that we don't have right now. So first, let's make one new class. But before doing that, we need quotation outside the I d. Okay, now let's create one new class. We need these styles for our new I d. And that's coming. This one out nurse cleared one glass off, an imminent with the same styles that we had. Let's say this one out and one more thing. We need to put a semi colon right here because it's a statement function statement not saved this one out are now. We have to mention this new class that we have created here, Let's say this one, too, and brought it in. Broza Seeing no without any hovering, we successfully loaded our three D image with one line on Jake really function using pure three d CSS. 29. Creating Animated Header part 1: Hi. In this movie we are going to design this animated header. You can see the multiple item, So let me go through it every single item, one by one for you. First, focus on these two images This joke German and this band one. So they are coming from the right side with some opacity. And when Davies their absolute position, they have the full capacity decks lie you can see. Then they're coming. You can see the rises text. And when they reached their destination, did Isis text is behind because off opacity. So we are covering three things here. First, they have some left property. Secondly, they use opacity and thirdly, they are transforming at disposition because they're not just coming or popping up on the screen. They have very smooth they to reach their destination. So we have tea things to cover right here. First will be opacity. Second will be left. Roberti or third will be the transformation that is making these animations toe reach their destination smoothly. Secondly, no focus on this veal that is showing right here, and this really is not coming from the any position. So it's using just one transform ated rotated property lost and least you can see this Backman image that is appearing on the screen. And, ah, it has some capacity. And its opacity is transforming itself. That's why it has to property off Cassity and transform Mission. So let's digging. So first we need to go back to our data. Let's close this one out. Continuing from the last lecture. No, let me put more images right after this idea off coin, the Batman logo dot p and image that we have done in last lecture. So I have added four more images Batman V, Joker and Ben. And let me show you these image truly. So these images are in my images. Folder on here is my batman dot PNG image. It is Ben Dark. PNG here is joker door PNG. And here is our veal dot BNG like another. Save this and see it in a browser, but it will look like so we have these images now. Right here. Batman, real Joker and Ben. Now we need to add some absolute positioning toe Are just these images on the screen Move back to my home door to CSS file, but before let's see every single image has some specific idee this Batman or PNG have the idea of Batman Ville has the ideal feel. Joker has the idea off choker and Ben has the i d off bent back to home dot CSS file. So mentioning the Batman i D. Let's give her some absolute position. And also some right and value are saved this one out and treating Ambrosiano. So our bagman is on its position. Let's add more position for other images. No, for joker, for Ben, for our last image view. Next, you Jenna Broza know our images are in the right position. Close this one out. Back to home. Dorsey s is fine. And now the next thing will be no. We need to define one class image. We will add three property left capacity and confirmation that I told you and the starting off the lecture. So let's add first, some initial opacity, Toby zero. And now let's add wrapped Transition property on left on capacity and on VEP kit Transform Knowledge's air transition duration three second for left property, four second for rapacity and three second for transformation. Let's give it some transition timing function. He's for left property ese for capacity and is out. Four. Transformation. Last thing to add transition Dealing was your second for left property. Find five seconds for opacity and zero second for transformation. Let's copied the statement our and pasted for other vendor prefix browsers for Mozilla for opera and 44 Simple one. Let's save this one out So we have defined the transition property. No, the next part will be we have to move these images, right Our the screen so that our transition going over for that Back to home your CSS file and copy the positioning off this Joker, Ben and Batman in case we don't lost. Now we have toe move them right out of the screen. That's why I'm adding 1000 pixel in each off the position off the i d. So let's make this 6 18 to be 1618 This Batman 1700. And this Ben Toby, 1778 saved this one out. Let's face the original position. Know let's create one more class with the respected I D. And I'm gonna call it any mere comic. Remove this position also the top value because we want our transition toe come from right or left. We don't want toe mess with the top positioning. And in the animated comic original class, let's give it full capacity, Toby one so that when it reached their destination, our images have the full capacity. So our work is done. No, we need to back to our homes or esteem a file and move to our earlier Jake record. So we said, If over function has the idea of going, then apply the animated class. And if our function has dark comic class, the class where we added all the transition properties, then you can air this new class off any minute comic. So we have connected this class with our respected ID's and then using Jaqui. We connected our disk class with the claws off comic. Let's say this one out and seating a broza. No, no. Our images are working quite fine, and they are transforming their self at their position. And also, this Batman is just having the transformation property and opacity. But there is no left property on this Batman. This is because in the idea off back man, we designed it with right positioning. That's why it will not have the effect off left positioning until we design it with left position. But with Joker and Ben, we have designed these with left position. That's why you are seeing three effect on Joker and Ben and to effect transformation and opacity on this bad man image. 30. Creating Animated Header part 1: now the hard part was over. Now we just have to spend our this veal for that Let me make my new class off any meat veal and I'm gonna add on Lee rep get transform. Rotating property means rotation, so I want to rotate it with the angle off. 7 20 degree means four reputation Lots. Copy this one out and paste it for other vendor prefixes Changing the name for Mozilla And for the 41 I would say this one out. Now we have to apply this animate via clause in our j coury. So mentioning the light i d and our real has the i d off veal. Copy this one out and I want to apply a new clause that I have just created Vidi Name off any minute dash veal Let's sit in a broader now See now we have the the rotation on our veal. You can increase the reputation of these rotation and also the timing. So let me change this. 7 22 7200 for more repetition there sitting abroad. Zinno. Now we have couple off more rotation on our veal. You can also make your real toe have more repetition. Widmore duration. Just have to mention one wept transition duration property. And I made it toe eight second in the idea off veal. Let's save this one out and seating a bro's in all. See, everything is working fine. And this real has transition duration Toby Air second. So this is not as difficult than we thought Back then, people add ah, lot off JavaScript and Jacqui record to get here these an emissions. But now, with the only 50 line off court, you can create this awesome animation by yourself that have the diversity in their transition. 31. Image Gallery Part 1 Introduction Preview: How many beautiful places have you seen in your life? 235 for my Britain. Well, I have seen many beautiful places and I made a picture gallery off all the beautiful places where I have ever been. Some off the beautiful places are on the screen right now. And I made a picture gallery for you so that you can see and experience beauty in your mind . Just getting well in this video, we are going to design this picture gallery. You can see the beautiful picture gallery in which we have so many pictures and all of the pictures are just lying on the screen, a non orderly. And then the user will whore on any off the picture. He will see the picture in complete form like this with some shadow effect on right and bottom. It doesn't matter which picture you or the picture of going toe present in front off you. So if I hold my mouth on the picture, that is behind all of the picture right here. You can see this picture and also the name off the place. And also books Shadow effect here. And when I unheard it the picture will be at the position where it was before. See? So this lecture will going to give you a unique idea to do creative work. 32. Image Gallery Part 2 till Rotation: solar started Move back to my Rita. I don't have anything right now in the editor. Let me show you first. We don't have anything right down here. So first, let's create one rapper and I'm going to call this rapper places rap. Let's give her some were tied and background nine. Home George Timo file. I'm going to mention our developed class places Rap. Let's save this unseating brother first. But before doing that lurks chain background color from why Toby Yellow See, now we have this place is wrapped right here on the screen. And here I have this folder off 2000 and 17 in which I have many images. So what we will do will be we are going to place our image in a box off some class and add some heading beneath that image. So moved back to my Evita in our homes our esteem of file inside this developed places rap . I'm gonna add one more death off glass place hurting. And inside this do I'm going to add one more there for our image. Video claws off. I am Geet Erding. Actually, I am creating track off deaf with respect to the image. That's why I'm calling class Place 13 or image 13. Or maybe place 20 or image 20 something like that. And inside this Dev off class I am D 13. I want to add one image that is inside our 2017 folder and have the name off Neelum Valley . Let's air some weird and high. Now, after placing our image, lets Air one heading for our image that can have the name off our image. No, let's save this now. Our esteem of work is done. Move back to my home tortoises file and now we have Tokyo year style first for our place. 13. Kloss. Let's save this and sit in Brazil. No see. Now we have our displaced 13 box off this white. Now we need to adjust our image as well as add style. Toe are heading. So first let's air style to our image Off class image 13. I am G 13 image as an selector. I'm gonna give it some petting from left and from top. Say this phone out. Student brother No, no, the same. It is in the center. Now we have to create style for our heading and that heading is inside our Dave off class. I am G 13 in the slacked off at you one mentioning the foreign family and phoned size and making our heading in the center. See, now we have created our first task. No, we need to air some rotating property in our place. 13 class. So move back to my leader here I have this place 13 Kloss mentioning rep get transformation property all flotation with 10 degree angle, not Skopje. Dishonoured and paste it for other render prefix browser's for Mozilla, for opera and for simple before one not save this one hour and seating brother first seen on we have more image. 33. Image Gallery Part 3 Completion: No. We need to create one whole class for our place. 13 class right after it, so that you can understand it better and efficient. Very and first, let's add box shadow effect on right and on bottom mid 15 fixer on each side. Vidic color off RGB notation Skopje This book shared effect for other vendor prefix browsers and based it couple of times changing the name for Mozilla, for opera and for simple No, we need to add transformation that can make our rotated class off 10 degree Act zero degree with some scaling. So just got B these transformation from here and paste it in our homework loss and change the anger from 10 degree to zero degree. And you can add right after rotation some Skilling because in the original image off gallery I showed you when I user hold on our picture, it come up and have some boxer effect and also some Skilling. So we need toe add scaling right here. You can air Skilling in one line with rotation, or you can add it in a separate line. I prefer to add it in same line off rotation, so I have added a little bit scaling off 1.1. So finally I have added one point once killing and no not ceding Broza. No. See, Now we have Skilling as well as boxer Effect, but it right coming out of the users. So we need to add transition property in our players. 13. Simple glass. Let's apply our transition on all these style with 0.75 2nd off transition. Do addition and with ease in function, let's save this one Art seed in Broza See? No, we have perfect effect. So we have added one picture in our gallery. Now it's time. We should add more picture. So let being copied these Stedman from here, including devolved place, develop image and heading and paste it right after it Here Unless Gene from place 13 to place one an image 13 to image Run And let's add one different image right here I have this Abbasi mosque in Bahawalpur door jpg mitt and I'm going to use this image next scene ever hurting are just ing the victor off our image. Now I'm gonna show you to create little picture because in here we have this big picture and now it's time we should could hear one little picture so that you can understand it in a better way. Let's make its high to be 200 picture and in homes or CSS file. Let's copy all of these style from place 13 including image and heading and paste it right after it for our new class off place. 13 Toby Place one and in place, one class changing. Divert from 3 20 pixel toe 1 70 pixel and lets air some height hair off to 90 pixel. Let's save this one out and seating Broza. So there was something wrong. Move back to my reader and in home daughter's team a file. I have to mention the correct class not saved this one or no, I have changing from place 11 to place fun because we have defined style for place one. See noise Perfect next ad. Some more margin from the left side and make its margin toe minus 100 pixel. So we have added two pictures. But here is one more problem. When I over my mouth on this 30 Neelum Valley image, you can see this image is not showing properly. This is because we haven't defines that index value in our whole war class Move back to my leader. So in all the Khobar classes that we have right here, we have to make its position. Toby relative and whole class should have that index greater value. Because get a very will define which image come first and which at back and in without having class. We have to add zed index lesser value. We have to do same thing with our new class off placement that we have just created. Mentioning lowers that index value in our simple place one class and higher zed index value in our whole war. Close. Save this one out. See it now see? No, it's coming perfectly. We don't need this background color. You know, a place is wrapped class. Let's remove it from here. Let me create one more class off place. 15. Copy this one out and paste it right after it. Changing from place. Toronto players 15 and also image. And in here I have this image off Gasol off Germany. So let's copy the heading from here and team the image park from Ah Busey Mosque in Bahawalpur to Germany Castle. And also look stained our heading saved this one out. Moved back to my home dot CSS file Copy our place one class, all the style for image and heading to and pieced it right after it. Changing class name from 1 to 15 removing the height. And also we need to change our image. So 15 because we have made this glass for image 15 Saved this one out and seating brother. No see now we have this image right here. Let's give some margin from top and left toe This image move back to home door CSS file in place. 15 class. Let's change its margin from minus 100. Tu minus 30 and margin from top 80 pixel. Next seed in Broza. So we have placed our castle 15 image on years Original position Because in our image gallery this image is in here and in here we have this image right here. So this way I'm going to add all the images off different width and height. So let me do that. So I have added all the image with respected class place Erdene, please. 13 16 15 14 and so on And in here. I have also added all the images with respected headings and respected claws. Bear 16 Well, 11 air so on, and I have adjusted my image with respect to the rotation, according to some angle. Now, suppose we have this class off place 17 and I have given it angle off 60 degree and in image gallery. We have this 17 class image right here. You can see it's angle and you can adjust it. Move it left all right or topped by adding margin. One more example. This place. 14 have the angle off minus 10 degree and an image gallery. We have this place 14 image with minus 10 degree angle. Last thing. Toe cover. In this lecture, you can see we have this world best shooting spots heading So left Could year this heading move back to my home daughter's team. A file and in here before the closing off place wrapped Dev lacks aired Von Dev off glass heading and inside this there, we need one h one tack, and I'm going to call 2020 void. Best shooting sports organ. Now we need to create our style for this heading in a data. You can see that we have heading here, so we need to move it in the center. Move back to my home Dorsey Sys file Last year. Style for our heading class. Let's give her some bag known and margin from left side. Making exposition to be absolute and also giving a some margin from top. So now years in the center almost No, we need to define Start for our H one heading. Copy the class name mentioning it's selector at run giving it form family gutter for size reading from left and petting from right there. Say this one hour seeding, brother. No, we need more margin from left side. So in the heading glass notes makers margin toe 3 70 pixel Moving toward right. It means that we need to make it in negative position. So making it minus 1 70 minus 100 plus 1 70 plus 1 40 Finally. So everything is in the right position. Our work is done 34. Image Gallery Last Part 4 Summary: So let me go through it for you again from the beginning. First, I have made one rap with the name off place rap, and inside this I'm adding images and heading. But I'm adding fun Dev off respected class like Place 13 and inside that I'm adding one more Dave off Image 13 in that I have an image and heading and in home, Dorsey says. Far, I'm defining style for every single item because I wanted to show you the diversity off style off different sizes, off pictures. So, like this place 17 we have mentioned some weird background and float left. That's why you are seeing items are floating at the left side, and also the margin top and margin left in every class have different value and also transformation. Rotation angle. Some have the angle of 60 degree where other have the angle off, minus 10 or minus one weight. And in whole class I'm giving it some box shadow effect and also making rotation toe zero degree with some little bit 1.1 skilling and in without our class, I'm giving it ease in function so that ah user can see the picture is coming right at the skin in a very smooth way. So this lecture waas very practical demonstration off, making image gallery with rotation, vulture effect, transformation, scaling and transition. Hope you understand it. If you're not, then you should add your question and I will help you to guide you. Throw. See you then. 35. Social Media Buttons: Welcome back in this movie, we are going to design an emission and transformation. You can see all the spinning and this box is having the circle shape while I user hold on it. And this is not just simple animation. This is one of my favorite and emission that I have ever made. So let's get here this animation together move back to my data. Let me show you what we have right here. We don't have anything in our editor so fast. Let's add one class here and I'm going to call this class check and lex aardvark height, and I'm going to adjust it on the screen. Let's save this and mentioning this glass in our body section by adding one day mentioning the class off Jack and before checking it in browser next aired background color in our class so that we can see our clause in the browser not save this seat in Brazil. No. So we have this day right here. Now it's time we should create one box because you can see that we have first this box. So let's get here this box for that. I'm going to add one more class off animation and we'll add some very tight border background color in it, not save this are no mentioning the glass in our develop. Check by adding one more dio off glass and the mission. Let's add background color here in our new class off. Any mission. Let's save this conceding Rozenhal. So we have this box right here. Others air some margin in this box from the left side. Great. No, we need to create style for our animation who work loss so that it can be a circle than the user whore It first let's mention Victor and High to be seem 1 50 pixel and Gina border from discolor toe this new one and we want it to be a circle when I use a whole on it. So we have to mention border radios property and have to made it same like victor and height. So this border ideas property will going toe make our box our circle. No other save this and she didn't rozenhal. But before doing that, not mention homework class here they're saved this signal refreshing the page. See, Now we have toe define the transition so that you can see the effect properly and transforming Lee for that, mentioning the transition property for all style. And I want to add duration off transition to be 2.5 2nd and I want to use our ease in function. Let's copy this one out and paste it for other vendor prefix browser's for Mozilla, for opera and for simple default. One. Let's save this one hour and signal. See now our transition is working. Perfect. 2.5 2nd year staking still convert our box into a circle. No next part will be. We have to add transformation property in here in animation who were class, and I want to use rotate property so that a user will be able to see the rotation. And I have given it 3 60 degree angle. Means this circle will have to reputations. Copy this one out and pasted for other window prefix browsers. For Mozilla, for opera and for simple are saved. This sand seeding rozenhal. See, now we have only two repetitions. You can increase the repetition by adding more and more angle so 7 20 means will be four repetition and 1440 means eight reputation. Solar's cut this thing out and add 5400 degrees so that we will be able to have larger repetition. And let's give it minus angle so that your transition go in minus angle. And when a user unheard it will come up to its original position in positive angle. Let's save this one out. Ex lurking Perfect. No, we have to remove this space from here so that our border also worked very fine. Now we need to place our image inside this. So I have many media is right here. Have door, PNG, G door, PNG I'd or PNG tea and white or PNG so fast, Let's go back to our body section and add one image right here. F dart BNG. Let's save this one out. Seating brother? No. So you know, we have all mute in this blue circle. We have to wear some margin and ah, left and tall property so that you will be able to see this image inside this circle completely. So I have given it margin left. Eight pixel and margin. Top 20 pixel. Let's save this and seating Bozano. See? Or it's looking great. No, let me add more classes here. Off live off animation class not save this season, Brother. No, no, We have many boxes here and looks inside our an emission class. Let's make our boxes toe float. That left No. Let me add more images in our other Dev's for twitter t dot PNG for Google plus g dot PNG for you, do you wide or PNG? And for Instagram I adore PNG. Let's say this one out and ah, let's remove these margin style from here. Seen on, we have our images in our boxes and everything is working perfect. So give me one second to are just these images. So I have added margin left and margin top property in our every single image according to it, so that you will be able to see our animation in perfect form. Let's save this and sit in Brazil now See now our images are in perfect form holding the images, and now we have perfect an emission that we desired for 36. Plate Part 1 Trans Complete: I in this movie, we are going to design this school play artifact in which we have many thing toe cover. So when I use a hole in it, you can see the slider is going on in this circle, and when he unhurried, you will see that the plate will come up and gonna hide the effect. And when you on hold second item, you will see this greeny item in a slider. This tart item, this fort item. So it means that then one item is going on. It's going on in all off these five players. So this is very cool effect without any JavaScript or J query with your CSS. So let's start it so we don't have anything right now here and in here in the browser so far. Let me add one Dev right here. And I'm gonna call this Div with the class off check. No, let's year some style for over check class. So I have given it. We're tied padding and background color. So let's save this one out. Unseating a bro Zinno. Let's are just it in the screen now. Inside this Dave off check gloss, I need one more tive and I'm gonna give it class off. No, translate. Because in the preview I have showed you we have to circle and this circle don't have any kind off position. Its position is fixed means it's not translating, but with the upper circle off this blue one, it has some translation. It used the transformation translate property, this upper blumen But the lower one Wightman don't have any kind off translation. So that's why I gave it a name off, nor translate. So let's get a year style for our nor translate loss. And in this time section, we need to make a circle are guarding toe that respected class, nor translate. Okay, so I have given her some were tied and same border radio so that it will be a circle and this border off 15 pixel and this background color. So let's save this one out. And Cedeno Broza! So we have made our first circle and now we need to make one more circle. This moving circle that will be on the top off our circle this one that we created. So now let's make one more circle. This circle class will be translate on by access. We need same style. So let's copy started from or no translate loss and pieced it in this new class. Just change a border and background color so that you can differentiate it. Nine body section. We have to mention our Dev off this new class. Its name is translate on via axes. Let's say this one out. And Syrian Broza? No. So now we have this circle off translate on via axes and this circle with no translate. Close. No, we need toe. Put this blue circle behind this green one circle for that. First, we need to give it some margin. So in the class off, nor translate, I'm gonna give her some left. Margin minus 1 80 pixel se This one out seed in Broza. I see. No, we have our circle behind this blue circle. Now, how can you air the transition on this blue circle so that you can see the green circle For that? We need to add transition property in our translate on via axis class, and we need to make one more class off over on, translate on via axes and add translation transformation property. So first lax at transition property in our translate on via CSIS class. So I have added transition property in our translate on y Axis class video to second duration and with ease in function. Let's copy dissent out and paste it for other vendor prefix browsers for Mozilla, for Oprah and Force imparted the Fortman. Let's save this one out. And now we need to make translate own via axes over class and add transformation. Translate property in that hole close, and we want to translate it on via axes at 2 30 pixel. Let's see the number rose. Oh, no, on holding There is no effect. This is because we have these sames that index value in both off our classes the graters that index value will going to define which come at first and rich combat second. So these that index value in both classes have same value. So we need toe make this translate on y axis clause to be has Zad index greater value and let's make it toe to saved this one out and seating bro's on all. No green ones come first and now you can see the translating effect. One more thing toe cover in this lecture will be Mendes green, circa. Translate itself. I want it to don't show me fact on the white board. For that I have to move to my original Jack gloss that have the background off black Alexe . Add overflow property. Toby Hidden Save this one out. Seeding Bozano. See, one more thing when I hope where my mouse on the circle. And when it comes up, you can see a little bit bones it going a little bit up to our white circle and then come to its position. This is because off cubic Benazir values so you can choose cubic crazier value from this side for the bounds. So let's add cubic bestir value instead. Off he's in function here. They're saved this one out. Steve, no seeing all we have. Ah, bones here. No, let's add form or circle for that. Just have toe copy these days and based it right off for it. Save this one out. See? No. Okay, now we have five circle and let's give them some margin. 37. Plate Part 2 Complete Animation: next part will be we need to define this slider, this picture slider that is going inside these circles on whoring and this is only one type off slider. That's why it has the same picture at some instance. For that we need toe a key frame statement. Now I'm gonna define key fame statement with the name off background for 0%. I am on my image to be cinema nine Dark J B G. With the sides off 1 50 pick So and 1 50 pixel height. This is because our circle has the same were Toff. 1 50 picks on and hide off 1 50 pixel and in here I have these images Cinema a door, Jeopardy Cinema, $9 Jpg and cinema 15 14 13 12 and 11 door deputy. So this is the case statement for zero person. No for 25%. 50%. 60% 75%. 85% 100% I have added the statement with respected images. Let's copy this one out and based it for Mozilla and a prefix browser. Changed the name for Morse. No, for opera and for simplicity. 4th 1 Now it's time to mention the key frames chairman for respected class. We have created it for inner class off, nor translate. So we have to mention its death than class name and we need to connect. Give him statement with our this class using wrapped it an emission property mentioning key frame name. And that was background giving it time, repetition and direction. Copy this one out. Based it for other browsers. Let's save this and seeding Broza. Our key frame statements are working Perfect. Last thing we have to air attacks on our disk translate on via axes, front class. So I have added this text in our translate on via access class with some margin and you can add more style according Toa this text by yourself easily. So let's save this one out. And Syrian brother No, we have next our transition and transformation working perfect and everything. Great. No, You can pick this whole live off jack loss and can paste it anywhere you want