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

What are the media types?

0 Answers  


What is margin and padding?

0 Answers  


How can you create multi columns in css3?

0 Answers  


What is the difference between margin and padding in android layout?

0 Answers  


How do I combine multiple sheets into one?

0 Answers  






What are the advantages of css?

0 Answers  


What are normal margins?

0 Answers  


What is the CSS Box model and what are its elements?

0 Answers  


What is the purpose of em measurement unit?

0 Answers  


What is the syntax for adding multiple background images in CSS3?

1 Answers  


How to write media query for mobiles?

0 Answers  


Is padding included in width?

0 Answers  


Categories