How to draw a triangle in CSS ?



How to draw a triangle in CSS ?..

Answer / 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

More CSS Cascading Style Sheets Interview Questions

Explain what are image sprites?

0 Answers  


Which property is used to control the flow and formatting of text?

0 Answers  


How do I get a div on top of another?

0 Answers  


What are the difference between "display:none" and "visibility:hidden" in css?

0 Answers  


Who created css?

0 Answers  






What are the different versions of css?

0 Answers  


What are the advantages of using css?

1 Answers  


What are the types of style sheets?

0 Answers  


Is hgroup deprecated?

0 Answers  


How do you include a comment in css?

0 Answers  


Can you make a id selector particular to an element type?

0 Answers  


What are the common values used in 2d transforms?

0 Answers  


Categories