css扬帆起航动画效果代码

代码语言:html

所属分类:动画

代码描述:css扬帆起航动画效果代码

代码标签: 动画 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
    body,
html {
        height: 100%;
        width: 100%;
        overflow: hidden;
        display: grid;
        background: rgb(238, 174, 202);
        background: linear-gradient(
                30deg,
                rgba(238, 174, 202, 1) 0%,
                rgba(148, 187, 233, 1) 100%
        );
}

#container {
        width: 300px;
        height: 300px;
        margin: 0 auto;
        display: flex;
        transform: translatex(0px);
        transition: all 2.5s;
}

button {
        justify-self: center;
        align-self: flex-end;
}

button:focus {
        outline: none;
}

#buttoun {
        width: 300px;
        height: 100px;
        border-radius: 10px 10px 10px 10px;
        border: none;
        background-color: rgb(100, 100, 200);
        z-index: 1;
        transition: all 1s;
        color:#fff;
}

#mast {
        width: 12px;
        height: 160px;
        transform-origin: bottom;
        transform: translate(170px, 48px) rotatez(-90deg);
        background-color: rgb(100, 100, 2.........完整代码请登录后点击上方下载按钮下载查看

网友评论0