How to draw a triangle in CSS ?

Answer Posted / hrpynux@gmail.com

Set a width and height of 0.
Set the border color to transparent.
Set the top border to 0.
Set the side borders to half the width.
Set the bottom border to have the full height.
Set a color for the bottom border.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of in measurement unit?

392


What is the syntax of opacity in css3?

274


Is css a programming language?

354


What hsla stands for in css3?

345


How do you center in css?

382






Explain with the help of an example the usage of a parent-child selector.

395


How do I get a div on top of another?

350


What are css libraries?

351


Why is an external style sheet beneficial?

331


What is a css reset?

300


What is style sheet and its types?

366


What are the advantages of cascading style sheets?

353


What is the return type of prompt box?

358


Does css work in notepad?

342


What is a cascading relationship?

342