05:35How (and why) to use borders to make a CSS triangle (plus a scss mixin)
From the creator
It's a little strange that you can make a triangle by using a border with CSS, but once you understand why you can do it, it not only makes sense, but it's also a lot easier to manipulate so you can get them exactly like you might need them to be. Not only do I look at how to make a css triangle with a border in this video, but also how it works, and I finish it off by looking at how you can use a Sass mixin to be able to create them with only one line of code, once you've set things up. --- Come and hangout, ask questions, suggest ideas, and meet some awesome people over in The Community: https://discord.gg/nTYCvrK I have a newsletter! https://www.kevinpowell.co/newsletter New to Sass, or want to step up your game with it? I've got a course just for you: https://www.kevinpowell.co/learn-sass --- My Code Editor: VS Code - https://code.visualstudio.com/ How my browser refreshes when I save: https://youtu.be/h24noHYsuGc --- Support me on Patreon: https://www.patreon.com/kevinpowell I'm on some other places on the internet too! If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter. Instagram: https://www.instagram.com/kevinpowell.co/ Twitter: https://twitter.com/KevinJPowell Codepen: https://codepen.io/kevinpowell/ Github: https://github.com/kevin-powell
Published 2019-02-13 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





