Home » Snippets » CSS3 Theater Curtains CSS3 Theater Curtains - Snippet --- jQuery jQuery UI Bootstrap Angular Backbone D3 Ember GreenSock TweenMax Handlebars Lodash Modernizr Polymer React React DOM Snap.svg Three.js Underscore Zepto ZingChart --- Bootstrap Foundation Animate.css Preview HTML CSS JS <div id="theatre"> <em id="curtain-left"></em> <em id="curtain-right"></em> <p>The Theatre</p> <p>Hover to open!</p> </div> <script src="https://raw.github.com/LeaVerou/prefixfree/gh-pages/prefixfree.min.js"></script> div#theatre { border: inset red 10px; height: 300px; width: 80%; margin: 2em auto; text-align: center; line-height: 120px; font-size: 30px; position: relative; overflow: hidden; background: black; color: rgba(255,255,255, 0.3); text-shadow: 0 0 2px yellow , 0 0 4px black,0 0 6px white; } div#theatre #curtain-left, div#theatre #curtain-right { content: ''; position: absolute; z-index: 2; top: -30px; bottom: -30px; width: 61%; transition: all 4s ease-out; transform: rotate(0deg); background-color: #A90505; background-image: linear-gradient(90deg, transparent 10%, rgba(255,255,255,.25) 50% ,transparent 65% ); background-repeat: repeat; box-shadow: 0 0 10px #555 ,inset 0 -60px 60px -30px rgba(255,255,255, 0.5), inset 0 90px 60px -30px rgba(0,0,0, 0.5); background-size: 80px; } #curtain-left { left: -10% } #curtain-right { right: -10% } div#theatre:hover #curtain-right, div#theatre:hover #curtain-left { width: 0; background-size: 1px; transition: all 4s ease; transform: rotate(15deg); } div#theatre:hover #curtain-right { transition: all 4s ease; transform: rotate(-15deg); } #theatre p { width: 50%; margin: 0.5em auto; position: relative; z-index: 3; } #theatre p:first-of-type:before { content: ''; position: absolute; border-radius: 150px; box-shadow: 0 0 10px 70px rgba(255,255,255,0.4); height: 0.1px; width: 3px; top: 6.5em; left: 49%; transform: rotate(25deg) skew(15deg,5deg); } Tutorials Palace 12 January, 2019 No Comments 166 Views CSS3 Theater Curtains CSS Animation CSS Animation Download CSS3 Theater Curtains Code Fullscreen Tutor Play Walkthrough Related Snippets Box Shadow Editor Canvas Particles Emission Dripping Paint CSS3 Animation National flag of Mongolia Particles Emission Based on Mouse Moves Custom Cursor Images with CSS Particle System Leaving Trails CSS3 LT Form Particles Gravity Effect Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Name * Email * Website Notify me of new posts by email.