You are about to implement an accordion gallery.

Asked 1 years ago, Updated 1 years ago, 417 views

Hello, everyone I'm a beginner web designer

https://codepen.io/ferry/pen/ZYVwxz

I'd like to use this accordion

I looked at the CSS.

.Class name {

    Selector {

       Selector {

         }

There's a structure where you put a selector in the declaration block and a declaration block in it What kind of structure is this? If I use this as it is, does it cover the child's area?

And I'm going to use the accordion, but even if I bring HTml and css as it is, it doesn't work How to use it I'd really appreciate your help

html5 css accordion user-interface

2022-12-27 12:12

1 Answers

To solve the problem right now, in the CSS section of the code pen page you gave me, click the item View Compiled CSS in the context menu that comes out by pressing the v-shaped button, and the contents of the CSS will change a little bit. If you copy this, it'll be "take it as it is."

"View compiled into CSS"What do you mean? Why is compiling related to CSS? If you press the v-shaped button again, the item is now changed to View Uncompiled SCSS. What is SCSS? You need to find out.

From now on, let's leave it as our own homework! To be honest, I don't know either.


2022-12-27 15:05

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.