A
A
Alexey2017-11-20 15:07:03
JavaScript
Alexey, 2017-11-20 15:07:03

A palette of colors on the site by example - how to implement this in general?

Hello. Tell me, who knows) There is an original color palette (you need to click on "Select a color" under a can of paint) https://www.oboilux.ru/paints/489835 . How to implement this? What to take to help? What libraries, scripts .. The basis is clear, BUT perhaps someone has already done something similar and will give advice. Thanks in advance!
///
The problem is in the implementation of a floating transparent rectangle) And, accordingly, the opening of the colors that fell into the active zone in the popup. But thank you very much for this)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Ankhena, 2017-11-20
@Ankhena

Something like this: https://jsfiddle.net/Ankhena/r3d1djns/
then you can refine it to your taste

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question