菜头粿子园

关注

数据结构OJ实验3-堆栈

菜头粿子园

关注

阅读 12

2024-01-07

目录

1.效果展示 

 2.代码内容

 3.代码解析

(1)分析inner类写法

(2)分析container类写法


1.效果展示 

 2.代码内容

<div class="item">
    <div class="inner">
        <di class="container"></di>
    </div>
</div>
    .item{
        background:red;
        width:50%;
        margin:0 auto;
    }
    .inner{
        width:100%;
        height:0;
        padding-bottom: 60%;
        position: relative;
    }
    .container{
        position: absolute;
        inset:0;
        background: grey;
    }

 3.代码解析

相关推荐

古月无语

【数据结构3-栈和队列】

古月无语 9 0 0

sunflower821

数据结构OJ实验7-树结构及应用

sunflower821 10 0 0

爱动漫建模

数据结构OJ练习

爱动漫建模 34 0 0

Brose

数据结构——Golang实现堆栈

Brose 87 0 0

SPEIKE

Java数据结构之堆栈

SPEIKE 57 0 0

承蒙不弃

堆栈、队列数据结构的特点

承蒙不弃 213 0 0

骑在牛背上看书

【算法系列】堆栈数据结构

骑在牛背上看书 53 0 0

洲行

数据结构-->栈区 OJ 题

洲行 95 0 0

云岭逸人

《数据结构实验3》--图的遍历操作

云岭逸人 40 0 0

Hyggelook

java数据结构YZP专栏版-----堆栈

Hyggelook 27 0 0

精彩评论(0)

0 0 举报