Giter Site home page Giter Site logo

Comments (7)

mikke89 avatar mikke89 commented on August 30, 2024 1

Alright, good to hear! About interpolation: It just hasn't been implemented yet for box-shadow.

from rmlui.

mikke89 avatar mikke89 commented on August 30, 2024

I intend to make a pull request for the effects branch soon, in the mean time it shouldn't really be considered production ready. In any case, I'll take a look at this. It would be very helpful if you could list the RML and RCSS used here so I can reproduce it.

from rmlui.

JailbreakPapa avatar JailbreakPapa commented on August 30, 2024

No problem, i was mainly looking at the effects branch to just test out and build upon in a private fork of the library.

The HTML + CSS Code is adapted from https://uiverse.io/ZacharyCrespin/dull-dragonfly-23 Just to give some context.

HTML:
<button>Button</button>

CSS:
`button {
transition: all 0.5s;
font-size: 17px;
padding: 1ch 2ch;
background-color: white;
color: #000;
border: none;
border-radius: 2px;
box-shadow: 2px 2px 0px,
#00ff 4px 4px 0px,
#00ff 6px 6px 0px,
#00ff 8px 8px 0px,
#00ff 10px 10px 0px,
#00ff 12px 12px 0px,
#00ff 14px 14px 0px,
#00ff 16px 16px 0px,
#00ff 18px 18px 0px inset;
}

button:hover {
background-color: black;
color: #fff;
box-shadow: none;
}`

from rmlui.

mikke89 avatar mikke89 commented on August 30, 2024

I pushed a commit that I believe should fix this, let me know how it works for you.

from rmlui.

JailbreakPapa avatar JailbreakPapa commented on August 30, 2024

I pushed a commit that I believe should fix this, let me know how it works for you.

About to test, currently building.

from rmlui.

JailbreakPapa avatar JailbreakPapa commented on August 30, 2024

Yep that seemed to fix it. Quick question, I know the given CSS was very broken in a way, but it seems the box shadows cant be interoplated? is it just the broken CSS or is that a limitation?

from rmlui.

JailbreakPapa avatar JailbreakPapa commented on August 30, 2024

Alright, good to hear! About interpolation: It just hasn't been implemented yet for box-shadow.

Ill see if i can get interpolation working for box-shadow, and make a Quick PR.

from rmlui.

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.