---
title: "Discussion on \"Working with data attributes in CSS\" | Hashnode"
description: "Discussion on \"Working with data attributes in CSS\". We previously looked at using data attributes in JavaScript. These data attributes are a fantastic way to store little bits of information on an element without using custom attributes.\nHowever, we can also use them to style some aspects with specifi..."
url: "https://hashnode.com/posts/working-with-data-attributes-in-css/639178742aa62c02b7694116"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Working with data attributes in CSS](https://h.daily-dev-tips.com/working-with-data-attributes-in-css?utm_source=hashnode&utm_medium=feed)

We previously looked at using data attributes in JavaScript. These data attributes are a fantastic way to store little bits of information on an element without using custom attributes. However, we can also use them to style some aspects with specifi...

Dec 8, 2022 · 1 min read · h.daily-dev-tips.com  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#css3](https://hashnode.com/tag/css3)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Chris Bongers](https://hashnode.com/@dailydevtips)

@dailydevtips · Cape Town, SA

  
[View profile](https://hashnode.com/@dailydevtips)

Looking to get into development? As a full-stack developer I guide you on this journey and give you bite sized tips every single day 👊

I'm a full-stack developer from South Africa 🇿🇦. I love writing about JavaScript, HTML and CSS.

## Responses 1

Markdown supported · ⌘↵ to post

[Md Shakib Ahmed](https://hashnode.com/@mdshakibahmed)

[Dec 8, 2022](https://hashnode.com/posts/working-with-data-attributes-in-css/639178742aa62c02b7694116/comment/6391d72e0771b6e5cf4a8003)

Thank you so much given such a piece of valuable information about CSS. it's really helpful tips for me! I appreciate the author of this post sharing something special. I am super excited to share that I have found Graphicly!

[Graphicly](https://graphicsly.net/) is an all-in-one plugin for graphics management, image cropping, and image optimization. Graphicly lets you easily download and use images from the web,

whether you are on a website or on your WordPress site. With our powerful API, you can create customized libraries of images that integrate seamlessly into your theme’s header.

You can also upload and store your own images directly within the plugin—so there’s less work to do when it comes to finding specific visual assets, images/videos that are relevant and needed by your website users.

as a result of reading this post. I'm getting to save your profile in my favorite list. 🥰
