Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to make the picture display effect of accordion by Dreamweaver

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces Dreamweaver how to make accordion picture display effect, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

1. Open the Dreamweaver cc 2014 software and choose to establish the html interface, which automatically generates some necessary code format to save time.

2. First save the code to a built folder where there are ready to do the effect of the picture folder.

3. Enter: in the body tag:

图片

图片

图片

图片

图片

图片

Note: the image location and picture name of the file path of src should correspond to each other.

4. In front of the body tag, enter:

Ul,li {list-style:none; padding:0; margin:0;} ul {width:960px; height:300px; margin:100px auto; border:1px solid # 000; overflow:hidden;} ul li {width:160px;height:300px;float:left;background-color:red;transition-property:width;transition-duration:1s;} ul:hover li {width:58px;} ul li:hover {width:670px}

After typing, press F12 key, pop up the page, you can see the picture.

5, after popping up the page, move the mouse over the picture and move around, you can see the picture sliding effect.

Thank you for reading this article carefully. I hope the article "how to make the accordion picture display effect of Dreamweaver" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report