drop me a line on Twitter<\/a> if you have any questions about perspective or any other topic in this article.<\/p>\n","protected":false},"excerpt":{"rendered":"As someone who loves creating CSS animations, one of the more powerful tools I use is perspective. While the perspective property is not capable of 3D effects all by itself (since basic shapes can\u2019t have depth), you can use the transform property to move and rotate objects in a 3D space (with the X, Y, […]<\/p>\n","protected":false},"author":277647,"featured_media":320296,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":[]},"categories":[4],"tags":[1321,1293,1147],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/08\/perspective-cubes.png?fit=1200%2C600&ssl=1","jetpack-related-posts":[{"id":145808,"url":"https:\/\/css-tricks.com\/creating-a-3d-cube-image-gallery\/","url_meta":{"origin":320275,"position":0},"title":"Creating a 3D Cube Image Gallery","date":"August 6, 2013","format":false,"excerpt":"The following is a guest post by Kushagra Gour (@chinchang457). Kushagra wrote to me to show me a fun interactive demo he made. It touches on many of the concepts of 3D transforms in CSS, a topic we haven't covered a ton here. So here's Kushagra taking the reins to\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":333063,"url":"https:\/\/css-tricks.com\/re-creating-the-porky-pig-animation-from-looney-tunes-in-css\/","url_meta":{"origin":320275,"position":1},"title":"Re-Creating the Porky Pig Animation from Looney Tunes in CSS","date":"January 26, 2021","format":false,"excerpt":"You know, Porky Pig coming out of those red rings announcing the end of a Looney Tunes cartoon. We\u2019ll get there, but first we need to cover some CSS concepts. Everything in CSS is a box, or rectangle. Rectangles stack, and can be displayed on top of, or below, other\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/01\/3QtAnNyg.jpeg?fit=1200%2C947&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":21784,"url":"https:\/\/css-tricks.com\/3d-button-parallax\/","url_meta":{"origin":320275,"position":2},"title":"3D Button Parallax","date":"May 27, 2013","format":false,"excerpt":"The following is a guest post by Alexander Futekov. We recently published an article by Joshua Bader in which a 3D inset look was adjusted as the page scrolled to give it a more realistic interaction. This is similar only Alexander is using an extruded look on buttons and employing\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":323488,"url":"https:\/\/css-tricks.com\/css-in-3d-learning-to-think-in-cubes-instead-of-boxes\/","url_meta":{"origin":320275,"position":3},"title":"CSS in 3D: Learning to Think in Cubes Instead of Boxes","date":"October 23, 2020","format":false,"excerpt":"My path to learning CSS was a little unorthodox. I didn't start as a front-end developer. I was a Java developer. In fact, my earliest recollections of CSS were picking colors for things in Visual Studio. It wasn't until later that I got to tackle and find my love for\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/10\/jhey-workspace.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":193982,"url":"https:\/\/css-tricks.com\/tour-performant-responsive-css-site\/","url_meta":{"origin":320275,"position":4},"title":"Tour of a Performant and Responsive CSS Only Site","date":"January 23, 2015","format":false,"excerpt":"The following is a guest post by Rajoshi Ghosh and Tanmai Gopal of 34 Cross. They emailed me to show me their new website and how performant it was despite having cool features, being visually rich, and responsive. I was like, hey, you should write about it! This is that.\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":375621,"url":"https:\/\/css-tricks.com\/css-infinite-3d-sliders\/","url_meta":{"origin":320275,"position":5},"title":"CSS Infinite 3D Sliders","date":"December 16, 2022","format":false,"excerpt":"In this series, we\u2019ve been making image sliders with nothing but HTML and CSS. The idea is that we can use the same markup but different CSS to get wildly different results, no matter how many images we toss in. We started with a circular slider that rotates infinitely, sort\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2022\/11\/cube-slider.jpg?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/320275"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/277647"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=320275"}],"version-history":[{"count":10,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/320275\/revisions"}],"predecessor-version":[{"id":320937,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/320275\/revisions\/320937"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media\/320296"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=320275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/categories?post=320275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=320275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}