Welcome to collectivesolver - Programming & Software Q&A. A website you can trust. All programs tested and works. Contact: aviboots(AT)netvision.net.il
GreenGeeks Web Hosting - Faster, Scalable & Eco-Friendly

BlueHost Web Hosting

Ecommerce Software - Best Ecommerce Platform Made for You - Free Trial

Ecommerce Software - Best Ecommerce Platform Made for You - Free Trial

getflywheel wordpress hosting


Distribute your Resume to 500+ Job Boards & Recruiters


7,804 questions

10,890 answers

573 users

How to draw diagonal line in HTML5

2 Answers

0 votes
<!DOCTYPE html>
<html>
<head>
</head>
<body>

<svg style='width: 200px; height: 200px;'>
    <line x1="0" y1="0" x2="300" y2="300"
        style="stroke:rgb(255, 0, 0);stroke-width:2"/>
</svg>

</body>
</html>

 




answered May 27, 2016 by avibootz
0 votes
<!DOCTYPE html>
<html>
<head>
</head>
<body>

<svg style='width: 100%; height: 100%;'>
    <line x1="0" y1="0" x2="100%" y2="100%"
        style="stroke:rgb(0, 255, 0);stroke-width:2"/>
</svg>

</body>
</html>

 




answered May 27, 2016 by avibootz
...