![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
CSS content: attr() on HTML5 progress doesn't work
You need to add static content in CSS to make it work.
Let us see an example −
HTML
<progress max = "100" value = "60" data-value = "5"></progress>
You need to add the following CSS. This is to add CSS generated content before and after the HTML5 progress element −
progress::-webkit-progress-bar:before, progress::-webkit-progress-bar:after { content: '989'; }
Advertisements