Tag data-attribute

Pure CSS Responsive Tables

pure css responsive table

In this tutorial I’m going to show you how to create a pure css responsive table. We’ll do it in two steps. First, creating a basic HTML table with some basic CSS styling. Then, we’ll add some HTML5 data attributes…

Display HTML5 data-attribute with CSS

In this tutorial we’re going to take a look at how can we display the content of the HTML5 data attribute with CSS In a previous tutorial, we took a look at how to use the html5 data attribute as selectors…

Get HTML5 Data Attribute with jQuery

In this tutorial we’ll be taking a look at how to get HTML5 data attribute with jQuery. We’ll create an anchor tag and turn it into a button with  CSS. Then we’ll add two data attributes on it. One for changing…