Questionnaire progress, preview questions, select answer
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<script>
|
||||
export let value = 0;
|
||||
</script>
|
||||
|
||||
<div class="w-full h-3 rounded-md bg-gray-300 relative">
|
||||
<span
|
||||
class="progress absolute top-0 left-0 rounded-md bg-blue-700 h-full"
|
||||
style="width: {value}%;"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.progress {
|
||||
transition: width 0.5s linear;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user