The official repository for CSSheet! A simple, easy to learn and bootstrap-compatible CSS framework which allows you to make great websites easily!
CSSheet works by creating CSS classes and allowing you to insert them into any HTML tag
Documentation includes everything! Press CTRL+F to find specifics!
Includes: fonts, background color, background images, foreground color, border color, width, height, border radius, border width, border style, text align, font size, opacity/transparency, opacity on hover, Background with opacity, text decoration, word wrap, float, padding, columns and rows,
<link rel="stylesheet" href="https://gitcdn.xyz/repo/cobwebdev/cssheet/main/css/cssheet.css">
Add this tag to your web-page inside of your pages <head>
tag.
Default CSSheet fonts: arial, georgia, courier
The font choice syntax is ft-<font>
Example:
<body class="ft-arial">
This will create a html body with the font "Arial"
Default CSSheet colors: Black, white, red, orange, yellow, aqua, blue, purple (You can always add more yourself)
Brightness values: 1, 2, 3, 4, 5, 6, 7, 8, 9
The background color syntax is: bg-<color>-<brightness>
Example:
<div class="bg-red-5">
This will create a divider with a red background and a brightness of 50% (default)
Default CSSheet images: cloudy-peaks, lovely-mountain, midnight-city, night-sky, night-town, sea-rock
The background image syntax is bgi-<image-name>
Example:
<body class="bgi-night-town">
This will give the page body the background image "night-town"
Default CSSheet colors: Black, white, red, orange, yellow, aqua, blue, purple (You can always add more yourself)
The foreground color syntax is: fg-<color>
Example:
<p class="fg-white">This is some text</p>
This will create a <p>
tag with White text
Default CSSheet colors: Black, white, red, orange, yellow, aqua, blue, purple (You can always add more yourself)
The foreground color syntax is: bdc-<color>
Example:
<div class="bdc-aqua">
This will set the border color to aqua
Width lengths (in vw): 10, 25, 50, 75, 100, auto
Width syntax is wd-<width>
Example:
<div class="wd-10">
This will create a divider with a width of 10vw
Height lengths (in vh): 10, 25, 50, 75, 100, auto
Height syntax is ht-<height>
Example:
<div class="ht-50">
This will create a divider with a height of 50vh
Border radius styles: none, rounded, curved
Border radius syntax is bdr-<style>
Example:
<div class="bdr-rounded">
This will create a divider with rounded corners.
Border width lengths: 1, 2, 3, 4, 5, 10
Border width syntax is bdw-<width>
Example:
<div class="bdw-5">
This will create a divider with a border width of 5 pixels.
Border styles: solid, dotted, dashed
Border style syntax is: bds-<style>
Example:
<div class="bds-solid>
This will create a divider with a solid border.
Text align: left, center, right
Text align syntax is: ta-<position>
Example:
<div class="ta-center">
This creates a divider where all of the text and elements inside of it will be centered inside of the divider.
Font sizes (in vw): 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
Font size syntax is fs-<size>
Example:
<p class="fs-4">
This creates a paragraph tag with a font size of 4vw
Opacity: 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, 10 (00 = 0.0, 01 = 0.1)
Opacity syntax is op-<opacity>
Example:
<div class="op-05">
This creates a divider with an opacity/transparency of 0.5
Opacity on hover: 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, 10 (00 = 0.0, 01 = 0.1)
Opacity on hover syntax is oh-<opacity>
Example:
<div class="oh-05">
This creates a divider and when the mouse hovers over it, the opacity will change to 0.5
Default colors: black, white
Backgrounds with opacity syntax: bg-<color>-op
Example:
<div class="bg-black-op">
This creates a divider, which is transparent and black
Text decorations: bold, underline, none
Text decoration syntax: td-<decoration>
Example:
<a href="https://cob-web.dev/discord" class="td-underline">
This creates a hyperlink, with the text decoration underline.
Wrap styles: normal, break-word, initial, inherit
Word wrap syntax: wdw-<style>
Example:
<p class="wdw-break-word">
This will create a paragraph tag with the word wrap "break word".
Padding (in vw and vh): 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16
Padding syntax: pd-<padding>
Example:
<p class="pd-8">
This will create a padded paragraph tag with padding of 8vh and 8vw
Float values: left, right, none, inherit
Float syntax: flt-<value>
Example:
<div class="ft-left">
This will create a divider that will float to the left
This is a bit more complicated to implement, Columns on web-pages usually split content across the webpage, so you can have multiple buttons on the same line, for example.
To create a column you first need to add a row. The syntax for a row is: row
<div class="row">
Afterwards you will need to add as many collumns into your row as you see fit.
The syntax for a collumn is: cl wd-<width>
Collumns need a width in order to display the full length of a collumn
<div class="row">
<div class="cl wd-25><h1>Collumn 1</h1></div>
<div class="cl wd-25><h1>Collumn 2</h1></div>
<div class="cl wd-25><h1>Collumn 3</h1></div>
</div>
This creates a row, and 3 collumns with a maximum width of 25vw. Inside of the collumns are headers.
- Collumns and rows are mobile responsive
Margin values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16
The syntax for margins are: mg-<value>
Example:
<div class="mg-0">
This creates a divider with a margin of 0vw and 0vh (nothing)
Position properties: static, relative, fixed, absolute, sticky
The syntax for position is: pos-<position>
Example:
<div class="pos-relative">
This creates a divider with a relative position.
Add loader to your own website.
Example:
<a href="btn"><div class="loader"></div></a>
Theres currently only 1 theme to use the theme the class for it is thm-discord-<mode>
and modes are dark and light
Example:
<body class="thm-discord-dark">
<!-- Your code here -->
</body>
Edit Discord theme example file
for more details.
Alex Carson - Lead Developer
Adam Salt - Former Lead Developer
Please join the Cob:web Development discord to talk to us and contribute to our projects: https://cob-web.xyz/discord
- Please be aware that our CDN automatically updates, however it may take up to 2 hours for the cache to clear on the CDN.