How to get a div to slide up from the bottom of the page using CSS

前端 未结 2 1195
误落风尘
误落风尘 2021-02-04 02:52

I have a div with the following classes:

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
    overflow: au         


        
2条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-04 03:31

    This css, when added to an element, will allow it to slide upwards.

    
    
    

    Slide up...

    Taken directly from http://www.html.am/html-codes/marquees/css-slide-in-text.cfm

提交回复
热议问题