Canvas în web design: Afișarea de triunghiuri în HTML5

<!DOCTYPE html> <html> <body> <canvas id=”canvas” width=”300″ height=”300″ style=”border:1px solid #c3c3c3;”> Oh no! This browser does not support HTML5 🙁 </canvas> <script> var canvas=document.getElementById(„canvas”); var canvas1=canvas.getContext(„2d”); canvas1.beginPath(); //declare the beginning of settings for our line canvas1.strokeStyle = „rgba(50, 0, 0, … Citeşte mai mult

The post Canvas în web design: Afișarea de triunghiuri în HTML5 appeared first on Telework.