GithubHelp home page GithubHelp logo

felipefialho / css-components Goto Github PK

View Code? Open in Web Editor NEW
685.0 28.0 127.0 1.1 MB

:coffee: A set of common UI Components using just the power of CSS and without JavaScript.

Home Page: https://css-components.felipefialho.com/

License: MIT License

JavaScript 14.18% HTML 45.03% Stylus 40.80%
pure-css purecss css-components carousel collapse tooltip modal css no-javascript components

css-components's Introduction

Hi there! 😁

My name is Felipe Fialho from Brazil (🇧🇷). I've been working as Front-End Developer since 2009 and currently I'm Tech Lead at Juntos Somos Mais. I'm passionate about open source projects, so I've created some projects as Front-end BR and I've always loved to produce a lot of content during my career

In my free time I like to play (and watch) football (⚽️), bodybuilding and fitness life (🏋️), to watch movies (🎞️) and series (📺), to read books (📚), to listen to music (🎵) and eventually I like to philosophize about life with a beer (🍺)

Would you like to find me?

Blog Badge Youtube Badge Twitter Badge Linkedin Badge

📽️ Some videos on YouTube 🇧🇷

📓 Some Blog Posts 🇧🇷


Felipe's github stats
Felipe Wakatime Stats

css-components's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

css-components's Issues

Browser tests: Android 4.0

I used Sauce Labs to did this tests.

  • Carrousel works fine, but without animation
    captura de tela 2016-03-18 as 11 41 34
  • Collapse does not work.
    captura de tela 2016-03-18 as 11 42 58
  • Dropdown does not work.
    captura de tela 2016-03-18 as 11 45 45
  • Dropdown with hover works fine (using tap)
    captura de tela 2016-03-18 as 11 51 31
  • Modal does not work
    captura de tela 2016-03-18 as 11 53 19
  • Tab does not work
    captura de tela 2016-03-18 as 11 54 36
  • Tooltip woks fine (using tap)
    captura de tela 2016-03-18 as 11 56 21

Testes de suportes em navegadores

Testei principalmente o collapse e consegui fazer rodar do IE9, obviamente precisei usar um fallback JS para o IE entender o :ckecked, mas fora isso o outro problema é que o IE9 não entende o atributo hidden, por isso o input radio (ou check) fica aparecendo.

A solução foi adicionar:

.collapse-open {
  display: none;
}

E também o http://selectivizr.com/ como fallback caso o navegador seja IE9 ou inferior.

Eu sei que a idéia é fazer Pure CSS, porém o fallback é apenas para forçar ao navegador entender alguns seletores CSS3 como o :checked. Acredito que com isso possamos extender o suporte dos componentes.

Tab.css/.zip issues

It seems to me that the following should not be in the build/tab.css file:

@media (max-width: $screen-xs-max) {
}
@media (min-width: $screen-sm) {
}
@media (min-width: $screen-sm) {
}

There might be a typo as well here: "painel" > "panel"?

.tab-painel {
display: inline-block;
min-height: 150px;
}
.tab-painel .tab-open {

Smooth Scroll behavior

add in project new attribute css scroll-behavior and scroll-margin-top. the behavior of the anchors will be nicer

Include some components in Picnic CSS

I am the creator of Picnic CSS and I've found out about CSS Components recently... and I love it! (:

After investigating each of them, I find the components Tab and Tooltip specially useful for including them in Picnic CSS as plugins. I already have a modal plugin in my library, otherwise I'd include it too.

From your MIT license I will adapt them for my library needs (not so many classes, SASS), however I wanted to let you know that I'll base these plugins in your great set of Pure CSS components as ir shares a lot in common with Picnic CSS ideas.

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.