Coder Social home page Coder Social logo

Comments (2)

Ahrengot avatar Ahrengot commented on May 8, 2024 1

Interresting! I'll subscribe to that issue and keep my eye on it.

Thank you for the response and that codepen example!

from rfs.

MartijnCuppens avatar MartijnCuppens commented on May 8, 2024

Hi @Ahrengot

I'd really rather not go back to a place where I need to manually update all of the paddings, margins etc when my font sizes change, but I might have overlooked something in the documentation.

You could only apply RFS on html, which would apply the fluid rescaling on the value of rem. I mimicked the behaviour you are looking for here:
https://codepen.io/MartijnCuppens/pen/eXLdYV?editors=1100
But this breaks the purpose of RFS, which is providing a solution for rescaling font sizes in any circumstance.

I like the fluid font sizing this tool provides, rather than the sudden jumps I get from my current solution, but I can't use this tool for anything outside of the font-size css property, can I?

No, not yet. But the future could look bright: #119. I'm not sure how well this works yet, because I haven't experimented with it yet.

from rfs.

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.