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: / discord
I have a newsletter! www.kevinpowell.co/newsletter
New to Sass, or want to step up your game with it? I've got a course just for you: www.kevinpowell.co/learn-sass
---
My Code Editor: VS Code - code.visualstudio.com/
How my browser refreshes when I save: • How to automatically r...
---
Support me on Patreon: / 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 RU-vid channel, make sure to follow me on Instagram and Twitter.
Instagram: / kevinpowell.co
Twitter: / kevinjpowell
Codepen: codepen.io/kevinpowell/
Github: github.com/kevin-powell
8 июн 2024