목차

Reboot

단일 파일의 요소별 CSS 변경 모음인 Reboot는 Bootstrap을 킥스타트하여 구축할 수 있는 우아하고 일관되며 간단한 기준선을 제공합니다.

Approach

Reboot에서 재정의할 항목을 선택하는 지침과 이유입니다.

Page defaults

<html> 및 <body> 요소는 더 나은 페이지 전체 기본값을 제공하도록 업데이트되었습니다. 더 구체적으로:

기본 글꼴(Font Family)

$font-family-sans-serif:
  // Safari for macOS and iOS (San Francisco)
  -apple-system,
  // Chrome < 56 for macOS (San Francisco)
  BlinkMacSystemFont,
  // Windows
  "Segoe UI",
  // Android
  Roboto,
  // Basic web fallback
  "Helvetica Neue", Arial,
  // Linux
  "Noto Sans",
  "Liberation Sans",
  // Sans serif fallback
  sans-serif,
  // Emoji fonts
  "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
글꼴표현가능여부확인
https://www.bramstein.com/writing/detecting-system-fonts-without-flash.html
var observer = new FontFaceObserver(‘Georgia’);
 
observer.check().then(function () {
  // Georgia is available
}, function () {
  // Georgia is not available
});

제목 및 단락

모든 제목 요소(예: <h1>및) <p>는 margin-top제거 되도록 재설정 됩니다. 쉬운 간격을 위해 제목 margin-bottom: .5rem과 단락 이 추가되었습니다 margin-bottom: 1rem.