Glass of water to show progress CSS JQuery -
I am working on an app and recently started making some major changes for it. Actually, the app enables the user to keep track of water and that they apply the target set in the registration.
One of these features will be a visual representation of the current progress, but not to understand the way I want to do it.
I want a glass of water, which fills the current situation. (The glass reaches 75%, if the user targets 75%, etc.).
Any thoughts? Ive seen it up and down again, but no fate.
Due to closed votes: Question - & gt; How do I use a glass of water as a progress bar? It should be quite clear now, but if not, just tell me. Here is a fiddle which I have described by you. You can see what is happening! Basically, just one div inside the div.glass. Water the nest, keep the position of water under the glass, and animate its height by query!
$ (function () {$ ('.water'). Animate ({height: '75% '}, 1000}})
Comments
Post a Comment