Coder Social home page Coder Social logo

selekkt / skelet Goto Github PK

View Code? Open in Web Editor NEW
136.0 8.0 13.0 792 KB

Skelet.css a contemporary CSS framework. The basics to get started.

Home Page: https://selekkt.dk/skelet/v3/

License: MIT License

CSS 33.81% JavaScript 0.03% HTML 66.16%
css css-framework html ui-components cssgrid css-reset css-animations animation ui flexbox

skelet's Issues

Custom HTML tags in React JSX?

Hi there,

First of, great work! Very useful to quickly start on small projects.

I extracted the skelet.css file to my React project and trying to use it. However, I'm getting these errors.

Any idea how we can change this for better support?
Screenshot 2020-12-01 at 10 41 48

Can't make triple column

Skelet uses a 16-column grid system instead of the regular 12-column one. This gives fewer grid options, since 16 is only divisible by 1, 2, 4 and 8. 12 is divisible by 1, 2, 3, 4 and 6 giving a better range. How can I solve this issue?

The Grid system is currently limited to columns only

The Grid system is currently limited to columns and you can't work with rows making it useless for more complex layouts.

At the moment a layout like this can't be achieved easily.
complex-grid-example

something like this would be ideal:

  <x-grid columns="10">
    <x-col span="1+2" span-y="1-3">cell 1</x-col>
    <x-col span="3+2">cell 2</x-col>
    <x-col span="5+4">cell 3</x-col>
    <x-col span="9+2">cell 4</x-col>
    <x-col span="3+4">cell 5</x-col>
    <x-col span="7+4" span-y="2-3">cell 6</x-col>
    <x-col span="3-6">cell 7</x-col>
  </x-grid>

This is how much nesting and code you need to achieve the above layout
complex-grid-example-2

this is the code

  <x-grid class="debug" style="gap:1px">
      <x-col>
          <x-grid>
              <x-col>grid>cell>grid>cell</x-col>
          </x-grid>
      </x-col>
      <x-col span="2..">
          <x-grid class="debug" style="width:100%; gap:1px">
              <x-col span="1+1">grid>cell>grid>cell</x-col>
              <x-col span="2-3">grid>cell>grid>cell</x-col>
              <x-col span="4..">grid>cell>grid>cell</x-col>
              <x-col span="row">
                  <x-grid columns="2" class="debug" style="width:100%; gap:1px">
                      <x-col>
                          <x-grid class="debug" style="width:100%; gap:1px">
                              <x-col span="row">grid>cell>grid>cell>grid>cell>grid>cell</x-col>
                              <x-col span="row">grid>cell>grid>cell>grid>cell>grid>cell</x-col>
                          </x-grid>
                      </x-col>
                      <x-col>grid>cell>grid>cell>grid>cell</x-col>
                  </x-grid>
              </x-col>
          </x-grid>
      </x-col>
  </x-grid>

Provide NPM package

hi

Would it be possible for you to package your work also as npm package?
This would make it much easier to install the css lib into an existing Javascript/Typescript project.

Thanks. :)

Contrast for links

Especially in dark mode, I am not sure the contrast between that blue and the dark background is sufficiently accessible.
The code blocks seem to change from blue to green in dark mode, maybe the links should as well?

Section border and cursor

regarding my site atacan.gitlab.io

  1. I don't have any class in the <section>s but when you mouse over the area the cursor turns into a up and down arrow. When you click, it goes to a little below the top of page.

    • I didn't know about class="intro" so I did the landing screen myself. Is it because of that?
  2. The horizontal line that is the border of the sections spans the entire screen. In your homepage it has margins from the sides. Why is mine like that?

Here is my website!

You created a framework that is exactly what I was looking for. Thank you very much for open-sourcing it.

This is a personal website of me, will be mostly a blog: http://atacan.gitlab.io/
As of now one homepage and three other pages.

[docs] Sections repeat themself

image

When clicking on a section on the website multiple times, it starts repeating itself. Tested in Chromium and Firefox, seems to happen for all sections.

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.