Help us understand the problem. What is going on with this article?

CSSでスペースシャトルを作ってみた。

More than 3 years have passed since last update.

スクリーンショット 2015-08-06 16.02.07.png

html

<body>
<div id="space">
<div id="space-shuttle"> 
  <div id="body">
    <div id="pattern"></div>
  </div>
  <div id="fire"></div>
  <div id="smoke"></div>
</div>
</div>
</body>

CSS

html,body{
  margin: 0;
  height: 100%;
}

#space{
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #001E43;
}

/* シャトル本体 */
#body{
  position: relative;
  z-index: 2;
  border: 1px solid #000;
  border-radius: 100% 100% 15% 15%;
  width: 125px;
  height: 500px;
  background: #0055FC;
}

/* 翼 */
#body:before{
  content: "";
  position: absolute;
  bottom: 65  px;
  left: -190px;
  border: 250px solid transparent;
  border-radius: 10%;
  border-bottom: 150px solid #0055FC;
}

/* シャトルの模様 */
#pattern{
  position: absolute;
  bottom: 100px;
  border: 3px solid #fff;
  width: 119px;
  box-shadow: 0 20px 0 0 #FEEEED;
}

#fire{
  position: relative;
  z-index: 1;
  left: 35px;
  top: 10px;
  border: 30px solid transparent;
  border-top: 150px solid #FEBE65;
  border-radius: 25% 25% 50% 50%;
  width: 0;
  height: 0;
  background: #FF4500;

  box-shadow:
    0 0 30px 3px #8C1E1F,
    0 0 80px 3px #eee;
}

#smoke{
  position: absolute;
  bottom: 75px;
  left: 613px;
  border-radius: 100%;
  width: 60px;
  height: 60px;
  background: #eee;
  box-shadow:
    -15px 30px 0 0 #eee,
     15px 30px 0 0 #eee,
    -30px 60px 0 0 #eee,
      0px 60px 0 0 #eee,
     30px 60px 0 0 #eee,
    -45px 90px 0 0 #eee,
      0px 90px 0 0 #eee,
     45px 90px 0 0 #eee;
}

smokeは灰色の円をピラミッド型に配置して作っています。
スクリーンショット 2015-08-06 16.08.42.png

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした