틀:연습장:아바투르너마저/1/styles.css: 두 판 사이의 차이

편집 요약 없음
편집 요약 없음
1번째 줄: 1번째 줄:
.radio-box {
.stock-chart {
  width: 300px;
  height: 15px;
  border-radius: 20px;
  border: 2px solid black;
   display: flex;
   display: flex;
   flex-direction: column;
   align-items: flex-end;
  justify-content: space-around;
  width: 100%;
  max-width: 600px;
  height: 300px;
  background: #f4f4f4;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
 
.bar {
  width: 15%;
  text-align: center;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: flex-end;
   justify-content: center;
   justify-content: center;
   align-items: center;
   border-radius: 3px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  background-color: #B17A5C;
  padding: 20px;
  position: relative;
  text-align: center;
  font-family: Arial, sans-serif;
  color: #333;
}
}


.radio-center {
.bar.positive {
  width: 20px;
   background: #4caf50;
  height: 5px;
  border-radius: 50%;
   background-color: #333;
  position: absolute;
  top: 10px;
}
}


.radio-content {
.bar.negative {
   margin-top: 40px; /* 중앙 버튼 아래로 내용 배치 */
   background: #f44336;
  font-size: 11px;
}
}

2024년 11월 30일 (토) 23:06 판

.stock-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  width: 100%;
  max-width: 600px;
  height: 300px;
  background: #f4f4f4;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.bar {
  width: 15%;
  text-align: center;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 3px;
}

.bar.positive {
  background: #4caf50;
}

.bar.negative {
  background: #f44336;
}