V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
yinznet
V2EX  ›  问与答

请教个css问题

  •  
  •   yinznet · Feb 3, 2014 · 2484 views
    This topic created in 4477 days ago, the information mentioned may be changed or developed.
    有四个元素一直在网页的左下端,如何调整到网页的右上端?
    2 replies    1970-01-01 08:00:00 +08:00
    bsfx2
        1
    bsfx2  
       Feb 3, 2014
    position: fixed;
    top: 0%;
    right: 0%;

    不可以吗?
    catoncat
        2
    catoncat  
       Feb 3, 2014
    把包裹这四个元素的div的css里面的 left:0 和 bottom:0 改成top: 0和right: 0
    如果还不行直接给body标签加上-webkit-transform: rotate(180deg)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3146 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 15:01 · PVG 23:01 · LAX 08:01 · JFK 11:01
    ♥ Do have faith in what you're doing.