Giter Club home page Giter Club logo

Comments (2)

Yoann-M avatar Yoann-M commented on August 29, 2024 4

Hello, I allow myself a little 🆙 on this topic.
If we take a look about the Responsive Utilities in the Bootstrap V4 Alpha release, the proposal focuses on:

  • .hidden-sm-down to hide size sm and smaller
  • .hidden-sm-up to hide size sm and bigger
  • .hidden-sm to hide size sm only

So, if we take a look about the Bootstrap Responsive utilities code and its Breakpoints mixins dependencies, we can easily use it inside Reflex. I tried it and it works great 👍

👀 I see two things to define :

  • Define the naming for Hidden utilities (we can keep the ones already defined)
  • To introduce _breakpoints.scss, we may need to put it in a folder named mixins (this might change the architecture a bit)

Good to Know :
In Bootstrap V5 "Responsive utilities" are replaced by the Display Properties. Guess it's a good idea for Bootstrap ... but not for Reflex as it's done in Flex ... We don't need to handle display: block properties 😃.

from reflex.

despecial avatar despecial commented on August 29, 2024

I agree and would suggest this naming pattern

hide-for-sm
hide-sm

from reflex.

Related Issues (20)

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.