How to draw with CSS canvas a slideshow frame?


Tags: jquery,css,canvas,css3

Problem :

I have 2 slideshows which should look like this. The user will upload the photos via a Wordpress gallery so I can't cut them up to make them transparent (plus I don't really know how). I've already posted a question here on how I may achieve this and one user was kind enough to tell me that I have 2 options: webkit mask and canvas; canvas being the recommended option because of better browser support.

For the past hour I've been searching on the Internet on how to draw with canvas but I've had no luck...

Could you please direct me to a tutorial that's easy to follow or give me some pointers?

Thank you!!



Solution :

I would recommend MDN's docs on the subject.

There are also some good resources in a similar question.


    CSS Howto..

    How to make the new long shadow trend with CSS?

    How to change margin according to other elements?

    How to extract attribute values using css selectors?

    How to read different CSS classes with the same beginning with jquery?

    How to center an icon inside css shapes?

    How can I put three elements in the same column, with the first on top, second and third in the center of the remaining space, using Flexbox?

    How to get two CSS rating star widgets to not affect each other when clicked

    How to change the current link color in navigation bar

    How can I debug twitter bootstrap v4-alpha grid? col-sm-offset-* not working

    A text shows up smoothly when hovering thumbnails. Is this a jQuery plugin or just CSS?

    how to disable width: 100%; and box-sizing: border-box;

    How to start different elements on different keyframes of an animation in CSS

    How to apply padding to an HTML input element?

    HTML/CSS: How to make a bar on the side to take you to a certain part of the page

    How can I incorporate a slideshow into HTML?

    how to disable the highlighting view on selection either in html or css?

    How to grow the width of a div as the width screen decreases using Css?

    How to use HTMLElement.classList(.toggle)?

    How can I target an id=“last_name[]_field” with css

    How to keep css background image blurred inside a container?

    How to adjust website according to screen resolution

    Custom Javascript and css added to Wordpress, however, still not working

    how to drag and drop css file in eclipse?

    How do I use Stylish to change the font in Google Tasks?

    How to style easypiechart using CSS?

    How can I keep the elements inside a div independent from it's CSS3 animations?

    how to set the css left property of a class on the basis of an ID of a tag

    How to select a child element in CSS?

    960 CSS Framework, how to get full 960 width?

    How to show/hide big image by clicking on thumbnails?