adobe dreamweaver
新建html文档。
书写hmtl代码。Animated Frame Slideshow
书写css代码。 @media screen and (min-width: 55em) {.demos { display: flex; justify-self: end; }.demo { display: block; width: 17px; height: 17px; margin: 0 4px; border-radius: 50%; background: var(--color-link); }a.demo--current { background: var(--color-link-hover); }.demo span { line-height: 1; position: absolute; right: 100%; display: none; margin: 0 1em 0 0; }.demo--current span { display: block; }} @media screen and (max-width: 55em) {body { padding: 0 0 4em 0; }.content { flex-direction: column; height: auto; min-height: 0; padding-bottom: 10em; }.content--fixed { position: relative; z-index: 1000; display: block; padding: 0.85em; }.codrops-header { flex-direction: column; align-items: center; }.codrops-header__title { font-weight: bold; padding-bottom: 0.25em; text-align: center; }.github { display: none; }.codrops-links { margin: 0; }.slide__desc { font-size: 1em; }.slide__link { font-size: 0.85em; }}
书写并添加js代码。
代码整体结构。
查看效果。