Verified Commit 6ab33377 authored by Vincent's avatar Vincent

Adding a CSS framework

This commit is not specific to building a Solid app, but it allows
us to use the Bulma CSS framework:

This will allow us to use some basic styling without having to
focus on it too much - distracting from the tutorial.
parent 107ef18f
This diff is collapsed.
.App {
text-align: center;
.App-logo {
animation: App-logo-spin infinite 20s linear;
height: 40vmin;
pointer-events: none;
.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
.App-link {
color: #61dafb;
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
to {
transform: rotate(360deg);
import React from 'react';
import logo from './logo.svg';
import './App.css';
const App: React.FC = () => {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
Edit <code>src/App.tsx</code> and save to reload.
rel="noopener noreferrer"
Learn React
<p>This is a basic app that can use <a href="" title="The Bulma CSS framework">Bulma</a> for styling.</p>
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
@import "~bulma/sass/utilities/initial-variables";
@import "~bulma/sass/utilities/functions";
// You can use Bulma variables from here on
@import "~bulma/bulma";
@import "~bulma/sass/utilities/derived-variables";
@import "~bulma/sass/layout/hero";
// You can use derived variables from here on
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import './index.scss';
import App from './App';
import * as serviceWorker from './serviceWorker';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment