Coder Social home page Coder Social logo

bytejoseph / cssplus Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 38 KB

cssplus - css for haters

Home Page: https://cssplus.onrender.com

License: GNU General Public License v3.0

JavaScript 35.64% Python 64.36%
css css3 javascript js python python3 trending trending-repositories

cssplus's Introduction

CSSPLUS

css for haters

Introduction

CSSPlus is a tool to design CSS like Python without using {, ;, or }

Motivation

Because CSS is a styling language, I want to avoid the semicolons and {} symbols.

quick start

<script src="https://cssplus.onrender.com"></script>
<style>
body:
    font-family: Arial, sans-serif
    background-color: #f0f0f0
    margin: 0
    padding: 0
</style>

Warning

Indent 0. no spaces or tabs

nospace

Example code

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>cssplus Website</title>
    <script src="https://cssplus.onrender.com"></script>
    <style>
body:
    font-family: Arial, sans-serif
    background-color: #f0f0f0
    margin: 0
    padding: 0

header:
    background-color: #4CAF50
    color: white
    text-align: center
    padding: 1em 0

nav:
    margin: 0
    padding: 1em
    background-color: #333

    a:
        color: white
        text-decoration: none
        margin: 0 1em

main:
    padding: 2em

footer:
    background-color: #333
    color: white
    text-align: center
    padding: 1em 0
    position: absolute
    bottom: 0
    width: 100%

    </style>
</head>
<body>
    <header>
        <h1>cssplus example Website</h1>
    </header>
    <nav>
        <a href="#">Home</a>
        <a href="#">About</a>
        <a href="#">Contact</a>
    </nav>
    <main>
        <h2>Main Content</h2>
        <p>This is a paragraph of text in the main content area.</p>
    </main>
    <footer>
        <p>&copy; 2024 compile studio. All rights reserved.</p>
    </footer>
</body>

</html>

cssplus's People

Contributors

bytejoseph avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.