triangle

Make a Triangle in CSS

create-a-triangle-with-css

Making a triangle is a little harder than making a square or rectangle in CSS. Here is what you do. First set up your div, we are going to give our div and id of triangle. [code]<div id="triangle"></div>[/code] Now we will add the CSS for the triangle. [code]<style> #triangle{ width: 0; height: 0; border-style: solid; Read More