Skip to content

Commit 2b8ece1

Browse files
authored
Update README.md
Updated spelling errors
1 parent caddf9f commit 2b8ece1

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

README.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Check out the live [demo](https://manuel12.github.io/fluent-css/).
2020

2121
## Introduction
2222

23-
### Brief overview of what the library does:
23+
A Brief overview of what the library does:
2424

25-
Inspired by the styles of the [Duolingo](https://www.duolingo.com/learn) and [Font Awesome](https://fontawesome.com/) websites, I wanted to create a library that would immediately improve the look of a website when imported, but also provided the user with utility classes to alter the styles of the different elements in use.
25+
Inspired by the styles of the [Duolingo](https://www.duolingo.com/learn) and [Font Awesome](https://fontawesome.com/) websites, I wanted to create a library that would immediately improve the look of a website when imported but also provide the user with utility classes to alter the styles of the different elements in use.
2626

2727
### How the library was built:
2828

@@ -38,19 +38,19 @@ Simply clone the repository locally and extract the _fluent.min.css_ file.
3838

3939
In order to import FluentCSS, simply add the two library links to the head tag of your index.html
4040

41-
<link rel="stylesheet" href="fluent.min.css" />
41+
    <link rel="stylesheet" href="fluent.min.css" />
4242

4343
_This is, of course, assuming the styles are in the root of your project; if they are not, then modify their paths accordingly._
4444

4545
And finally, add the script for the Font Awesome kit (to be able to use Font Awesome icons).
4646

47-
<script src="https://kit.fontawesome.com/d0731b8ace.js" crossorigin="anonymous"></script>
47+
    <script src="https://kit.fontawesome.com/d0731b8ace.js" crossorigin="anonymous"></script>
4848

4949
## What's included in the library
5050

5151
FluentCSS consists of one CSS file: _fluent.min.css_
5252

53-
The _fluent.min.css_ file includes boilerplate stylings that will apply inmediatly as soon as library is imported; it also contains some custom element styles like 'main container' or 'basic container' that serve as building blocks for your application; further utility classes regarding margin, padding, width and height; and colors classes to style text, background and border colors:
53+
The _fluent.min.css_ file includes boilerplate stylings that will apply immediately as soon as the library is imported; it also contains some custom element styles like 'main container' or 'basic container' that serve as building blocks for your application; further utility classes regarding margin, padding, width, and height; and color classes to style text, background, and border colors:
5454

5555
### Some custom element styles:
5656

@@ -88,55 +88,55 @@ In order to use the other styles available, such as having a heading with depth,
8888

8989
So for example, if you have a heading element that you want to update to a heading with depth and also give it a different background color...
9090

91-
<html>
92-
<body>
93-
<h1>My heading</h1>
94-
</body>
95-
</html>
91+
    <html>
92+
      <body>
93+
        <h1>My heading</h1>
94+
      </body>
95+
    </html>
9696

9797
...that originally looked like this...
9898

9999
![Heading example](demo/heading.png)
100100

101101
...you need to add the required classes, in this case _.heading-depth_ and _.bg-green_, to the h1 element...
102102

103-
<html>
104-
<body>
105-
<h1 class="heading-depth bg-green">My heading</h1>
106-
</body>
107-
</html>
103+
    <html>
104+
      <body>
105+
        <h1 class="heading-depth bg-green">My heading</h1>
106+
      </body>
107+
    </html>
108108

109109
...so that it ends up looking like this:
110110

111111
![Heading example](demo/heading-with-depth.png)
112112

113113
### Custom containers
114114

115-
One of the most important classes provided by FluentCSS is the _.main-container_ class. With this class, you can create containers that are padded, bordered and margined. All the examples in the "Examples" section of this README file are contained in custom containers. In order to make a normal div into a custom container, you just have to add the class _.main-container_ to such an element. As an example, we have a restaurant reservation system that is wrapped in a div...
115+
One of the most important classes provided by FluentCSS is the _.main-container_ class. With this class, you can create containers that are padded, bordered, and margined. All the examples in the "Examples" section of this README file are contained in custom containers. In order to make a normal div into a custom container, you just have to add the class _.main-container_ to such an element. As an example, we have a restaurant reservation system that is wrapped in a div...
116116

117-
<div>
118-
<h1>Restaurant Reservation System</h1>
119-
...
120-
</div>
117+
    <div>
118+
      <h1>Restaurant Reservation System</h1>
119+
      ...
120+
    </div>
121121

122122
...and currently looks like this...
123123

124124
![Heading example](demo/div-without-added-classes.png)
125125

126-
...add the _.main-container_ and _.bg-blue_ classes to such div in order to change it to a custom container with a blue background...
126+
...add the _.main-container_ and _.bg-blue_ classes to such a div in order to change it to a custom container with a blue background...
127127

128-
<div class="main-container bg-blue">
129-
<h1>Restaurant Reservation System</h1>
130-
...
131-
</div>
128+
    <div class="main-container bg-blue">
129+
      <h1>Restaurant Reservation System</h1>
130+
      ...
131+
    </div>
132132

133133
...and it will end up looking like this:
134134

135135
![Heading example](demo/div-with-main-container-and-bg-color-classes.png)
136136

137-
**Note:** custom containers occupy 75% of their parent's width and have white font by default.
137+
**Note:** Custom containers occupy 75% of their parent's width and have a white font by default.
138138

139-
In order to see how to apply any of the different styling examples simply load the index.html that comes with the library, and check the source code to see how each element was implemented.
139+
In order to see how to apply any of the different styling examples, simply load the index.html that comes with the library and check the source code to see how each element was implemented.
140140

141141
## Examples
142142

0 commit comments

Comments
 (0)