S
S
Shadowman692018-06-28 22:24:39
JavaScript
Shadowman69, 2018-06-28 22:24:39

Slider layout, how to layout it?

Good day!
There is the following screen:
5b3534c6d683c328200650.png
I have 2 questions about this:
1. How to smartly lay out this die under the switch arrow? The arrow itself will have position: absolute, but how then to center the plate? And how to make it?
2. In the slider, 2 extreme elements have transparency, how can I make it so that when switching the slider, these 2 extreme elements always have transparency?
I plan to make a slider through Slick Slider.
I would be grateful for any help on the matter.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Ankhena, 2018-06-28
@Shadowman69

Centering:

position: absolute;
  top: 50%;
  transform: translateY(-50%);

Make: border-radius: 50% and translucent gray background, corner - svg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question