Home » Snippets » CSS3 Floating Boat CSS3 Floating Boat - 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 class="whatever"><div class="yourboat"></div></div> /* The Code */ body{ margin:0 auto; background:#DBE6E2; } .whatever .yourboat { float:left; } .whatever { width:340px; height:250px; background:white; border-radius:50px; padding-left:30px; margin: 50px auto; } .yourboat { width: 0; height: 0; border-left: 200px solid transparent; border-right: 100px solid transparent; border-top: 40px solid #BB482B; top:70%; position:relative; } .yourboat::before{ content:""; display:block; position:relative; top:-150px; right:90px; width: 0; height: 0; border-left: 70px solid transparent; border-right: 0px solid transparent; border-bottom: 100px solid #fccf3c; } .yourboat::after{ content:""; display:block; position:relative; bottom:270px; right:10px; width: 0; height: 0; border-left: 0px solid transparent; border-right: 60px solid transparent; border-bottom: 120px solid #fccf3c; } Tutorials Palace 12 January, 2019 No Comments 115 Views CSS3 Floating Boat CSS Icons CSS Icons Download CSS3 Floating Boat 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.