Skip to content

Instantly share code, notes, and snippets.

@satansdeer
Created August 5, 2023 17:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save satansdeer/e2d77a2b2621790ee0cafaa26ca98dbd to your computer and use it in GitHub Desktop.
Save satansdeer/e2d77a2b2621790ee0cafaa26ca98dbd to your computer and use it in GitHub Desktop.
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}
html,
body,
#root {
height: 100%;
position: relative;
}
[contenteditable="true"]:focus {
outline: none;
}
[contenteditable="true"]:empty:focus:before {
content: attr(data-placeholder);
color: grey;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment