VanillaHTML
An Opinionated CSS (Cascading Style Sheets) File to
Modernize HTML (HyperText Markup Language)
Created By:
Bijan Fandey |
Fandey Tech
Build With Simple Semantic HTML Faster
Beautiful and Accessible HTML
By having a simple CSS file, you can learn web accessibility and Semantic HTML faster. Don't worry about crafting your own styles or classes. Just use Semantic HTML and VanillaHTML will do the rest!
Prototype With VanillaHTML
Learn Proper HTML
Did you know you could build these accordions with just HTML? If you didn't, you will by learning with VanillaHTML!
If you are newer to web-development, CSS can be overwhelming, it still is to many experienced devs too. CSS is creating art with numbers, and there are a lot of things to know about it. It can be a frustrating experience wanting to learn HTML but feeling like everything just looks ugly and outdated.
What's Included
- CSS File with root variables for simple theming
- Roboto Font File
- CSS Reset created by Piccalil with minor changes
Why I Made VanillaHTML
There's so much to learn when starting your journey in web development. It can be difficult and daunting, but it all starts with HTML.
I wanted to create an experience where learning HTML felt more modern, fun, and more effective. I wanted the visual aspect of building a basic HTML website to make it clear what exactly your HTML is doing.
Shades and Colors
A new standard for developers to keep common colors and shades consistent throughout the web.
As I've been getting feedback on this project, I've had a few people mention how it would be nice to have a standard set of colors to use throughout their apps.
Shades
rgb(0, 0, 0)
rgb(5, 5, 5)
rgb(25, 25, 25)
rgb(50, 50, 50)
rgb(75, 75, 75)
rgb(100, 100, 100)
rgb(125, 125, 125)
rgb(150, 150, 150)
rgb(175, 175, 175)
rgb(200, 200, 200)
rgb(225, 225, 225)
rgb(250, 250, 250)
rgb(255, 255, 255)
Colors
rgb(255, 0, 0)
rgb(255, 165, 0)
rgb(0, 128, 0)
Pros and Cons
PROS | CONS |
---|---|
|
|
Here's another row just to look at! | The CSS contains some properties that do not have baseline support yet. |
|
|
And this is a table footer! |
Fine Forms
Hate having super ugly forms by default? VanillaHTML makes the dev experience faster and more enjoyable.
Please read MDN Documentation on Semantics in HTML
This is an Example Form
Never gonna make you cry, Never gonna say goodbye,
- Rick Astley, Never Gonna Give You Up
Description Details
Create definitions without defining styles
- VanillaHTML
- A CSS file that redesigns default HTML elements
- VanillaComponents
- Coming Soon. Web components based on the VanillaHTML standard. Makes default HTML elements more intuitive, interactive, and easy to implement. Also provides default standards for commonly built components like navigation menus and footers. Always Semantic, Always Accessible
What Elements are Restyled?
I'm working on overhauling all elements that can be customized with only CSS.
Elements like popovers and dialogs (things that are better with JavaScript) will be created with web-components in the future.
I simply want to make VanillaHTML feel extremely intuitive to build with.
Documentation
It's Just HTML
I have examples all over this page, but if you follow correct standards and use correct elements for their intended purpose, you shouldn't have any issues.
Rewards Semantic HTML
If you don't have an understanding of Semantic HTML, this CSS file will be a big help in learning. MDN HTML Elements Documentation
Why Semantic HTML is Important
Everyone Deserves Access to Your Website
Semantic HTML is the process of structuring your HTML content in a way that is understandable to assistive technology. There are many benefits to using semantics in your code, especially when it comes to SEO and future-proofing your website. But most importantly, you can reach people with disabilities that can only access a tiny portion of the internet, think of how many potential users you could actually be missing out on.
Please read MDN Documentation on Semantics in HTML