Html css triangle

Does anyone know how to make triangle using border? I tried to get about this topic "making triangle " but can’t get. Need suggestions to understand this one in easy way?

I searched for a similar effect and across a link by CSS-Tricks. Check it as I believe it’ll help you have the desired effect.