Advancement meter banishing the dullness

Is it actually possible to completely remove the gray area of this progress bar?

progress, progress[role] {
    border: none;
    background-size: auto;
    height: 24px;
    background-color: green;
    width: 100%;
}
.skill-list {
    list-style: none;
    margin: 0;
    padding: 1em;
}
.skill {
    margin-bottom: 1em;
    position: relative;
}
.skill h5 {
    color: #fff;
    left: 1em;
    line-height: 1;
    position: absolute;
    top: -10px;
    text-transform: uppercase;
}
.skill ::-webkit-progress-value {
    -webkit-animation: bar-fill 2s;
    width: 0px;
}
.skill-1::-webkit-progress-value {
    background: #ff9e2c;
    border-radius: 5px;
}
.skill-1::-moz-progress-bar {
    background: #ff9e2c;
    border-radius: 5px;
}
.skill-2::-webkit-progress-value {
    background: #4ecdc4;
    border-radius: 5px;
}
.skill-2::-moz-progress-bar {
    background: #4ecdc4;
}
.skill-3::-webkit-progress-value {
    background: #ff6b6b;
    border-radius: 5px;
}
.skill-3::-moz-progress-bar {
    background: #ff6b6b;
    border-radius: 5px;
}
@-webkit-keyframes bar-fill {
    0% {
        width: 50px;
    }
}
@keyframes bar-fill {
    0% {
        width: 50px;
    }
}

Can we actually make it happen?

Answer №1

Include the following code snippets:

progress[value]::-webkit-progress-bar {
  background-color: #FFF;
}

progress::-moz-progress-bar {
    background: #FFF;
}

Here is an example for reference: http://jsfiddle.net/WQ7ch/1/

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

What is the best way to bridge the distance between a shrunken iframe and the following element?

https://i.sstatic.net/AZ7T4.png My iframe was resized to 65%, but the containing "div" still occupies the original iframe size, creating a large gap between the iframe and the next element. I'm not sure how to remove this gap. I want the next element ...

Ways to automatically display the Nebular Accordion using NgFor

Struggling with the latest Nebular version in Angular 7, I'm encountering a problem when using the nebular accordion component. Problem: The default behavior should have only one accordion expanded at a time, but setting expanded = true expands all of ...

Optimizing HTML/CSS performance: Comparing flexbox and tables for handling extensive datasets

Creating a React table component with hundreds of lines and variable cell widths can be complex. Would it be better to implement this using flexbox or a traditional table structure in HTML/CSS? ...

displaying variables in tooltips along with their translations

Could you please assist me with this tooltip issue? It seems to be malfunctioning. <div class="btn-edit-nounderline" matTooltipClass="custom-tooltip" (click)="edit(row.widgetAccess)" title="{{getTitle(row.widgetAccess ...

Does the DOMContentLoaded event fire only after all script tags have been downloaded?

Imagine this situation: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8> <title>Document</title> </head> <body> <script src="js/heavy_js_file.js" defer></script> &l ...

Having trouble with Visual Studio recognizing the src attribute while attempting to reference the index.js file

Currently, I am working on my javascript code within the "index.js" file. However, I have encountered an issue when using the src attribute in the "index.html" file. It seems that the code is not functioning properly. Just to provide some context, I am uti ...

What could be the reason behind a CSS caption overlapping another image within this table?

This is the CSS caption effect I am using: .cell { position: relative; width: 180px; height: 180px; } .caption {} .cell .caption { opacity: 0; text-decoration-color: gray; text-align: center; background: #eaeaea; position: absolute; fo ...

An unusual 1px variance appears in the background-image on Internet Explorer

Having trouble with a sprite of two images showing a 1px difference in ALL versions of Internet Explorer, yet working perfectly in Firefox. Check out the demonstration here: http://jsfiddle.net/bHUs3/6/ I'm feeling frustrated. What could be causing ...

Tips for Optimal Dropdown Menu Placement

The tabs in my menu seem to be refusing to move closer to the left side of the menu. I've tried removing padding elements and adjusting other settings, but there still remains an awkward space between the edge of the menu and the tab text. Additional ...

Issue with readonly is preventing the ability to alter the font color of the input

I need to change the font color of a disabled input. When it is disabled, it appears gray and I want it to be black instead. I attempted to use readonly but that did not have the desired effect, and now the input is showing [object Object]. Below is my HTM ...

send a parameter to a bootstrap dialog box

It seems like the title of my question is pretty common, but I haven't been able to find a solution that works for my specific issue. I have a Bootstrap template and what I'm trying to do is pass some variables to a modal. Currently, I am using ...

The use of JQuery's .show() and .hide() functions may disrupt the functionality of CSS hover

When working with this jsFiddle, it appears that the jQuery .show() function does not behave as expected. Despite the documentation stating that it should revert CSS attributes to their original values, using .show(x).delay(x).hide(x) seems to cause the CS ...

Adjusting the size of SVG rectangle shapes within a group container

I'm struggling to resize an SVG in my website. It is located within the header of the site, and previously I was resizing a regular image like this: $("#block_175 img").height($("#header").height() / 2); Now that I switched to using an SVG, I have b ...

Bootstrap for handling screen rotation and responsive design

Utilizing bootstrap to showcase canvas thumbnails within a div for lighter client-side creation. While not the perfect design, it's functional. An issue arises when viewing the app on a mobile device in portrait mode - the col-xs-6 class remains fixe ...

Implementing the change method in Angular2 and JavaScript

Within my application, I have implemented two select elements. The objective is that when one select element is altered, the other will automatically change as well. Furthermore, I need to be able to detect the event when the second select element is modif ...

Utilizing a percentage for the border-width property

I want to remove a triangle from the bottom of a div using a CSS trick involving borders. This involves creating a border with one transparent side and coloring the other sides to create the triangle effect. The issue I'm facing is that the div has a ...

Can you explain the significance of xpath=1 in an HTML document?

I am confused about a line in my design code that reads xpath="1". Can someone explain what this means in the context of the following code snippet? <select class="search-category" id="ddlTemp" name="Template" x ...

What is the best way to adjust the height of the second column downwards?

I am trying to achieve a 2-column layout with both columns at the same height. This is how it currently appears: And this is how I want it to be: Here is my code snippet: html { background-color: lightblue; font-family: Tahoma, Geneva, sans-serif ...

Issues with Google fonts not displaying properly on WordPress site

I'm just starting out with Wordpress and I'm using the html5blank theme to bring in my stylesheets. However, I've run into an issue where the google fonts are not being applied on my wordpress site. In my header.php file, I have included th ...

Encountered a problem when trying to add an onclick event to dynamically created HTML: Uncaught SyntaxError: Unexpected identifier was

Utilizing ajax to fetch results from the code behind, I am dynamically creating divs upon receiving those results. The process works smoothly without any issues. Now, my objective is to attach an onclick event to each div that triggers a specific method w ...