A Wiki in the Desert
Log in

Difference between revisions of "Template:ProgressBarBlock/main.css"

From A Wiki in the Desert
Line 10: Line 10:
 
   display: inline-block;
 
   display: inline-block;
 
   height: 20px;
 
   height: 20px;
 +
  flex: 1;
 
}
 
}
 
.bar-block:first-child {
 
.bar-block:first-child {

Revision as of 20:22, 4 June 2021

.bar {
  width: 50%;
  display: flex;
}
.bar-block {
  background-color: white;
  border:1px;
  border-style: solid;
  border-color: black;
  display: inline-block;
  height: 20px;
  flex: 1;
}
.bar-block:first-child {
  border-radius: 5px 0 0 5px;
}
.bar-block:last-child {
  border-radius: 0 5px 5px 0;
}