With that done, let’s write some markup in App.js to display content: The rules above sets Karla as the primary font of the document and includes a container class for padding and aligning content on the page. "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", Let’s edit this file to give our own feel to the page layout: // url(": 400&display=swap") įont-family: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", This will create a starter React application:Ĭurrently, the default stylesheet for your app is located at the root, in styles.css. To bootstrap a new React project in CodeSandbox, open a new browser tab and type in react.new. Now, let’s set up a new React application! Creating the project Some CSS knowledge - particularly Flexbox.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |