Hey there! Today I am going to share my way of making a triangle using CSS and a bit of HTML.
By the way I am also a beginner I just an idea and thought to share it here with you guys, So lets start:
STEP-1: First of all you need to make a div element using html.
STEP-2: Assign it a class
STEP-3: Set the height and width of the div to zero pixels.
STEP-4: Give it a border-left,border-right,border-bottom of 200px[it depends on how much big triangle you want] width,solid and choose the color.
STEP-5: Change the color of left and right borders to transparent.
STEP-6: Your triangle is ready!!😃😃
Thats my way to make a triangle, Hope you like it, you got a easy way to make a triangle using CSS.
You can suggest everyone if you have any new and easy way to make a triangle😉.