Giter Site home page Giter Site logo

Button scale about mirabo HOT 4 CLOSED

roman-koshchei avatar roman-koshchei commented on August 10, 2024
Button scale

from mirabo.

Comments (4)

roman-koshchei avatar roman-koshchei commented on August 10, 2024

I tried to use box-shadow to add scale-like effect using size, not percent. It looks cool with a solid button. But a border button just does not work in such a method. So I will just switch to ::before for scaling. Yeah, it doesn't scale text, but it's even better. No more blur.

from mirabo.

roman-koshchei avatar roman-koshchei commented on August 10, 2024

Scale kills me. I want to add scale down on a click. But if the cursor is out of the button in active state it will not be counted as a click.

2023-05-03.15-42-39.mp4

from mirabo.

roman-koshchei avatar roman-koshchei commented on August 10, 2024

I think I got it. Size is changed, not scale. ::before working. Just should remake styles for different buttons.

2023-05-03.22-12-14.mp4

from mirabo.

roman-koshchei avatar roman-koshchei commented on August 10, 2024

I came back to scale, but scale X much less than Y

from mirabo.

Related Issues (7)

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.