LoginSignup
1
1

More than 5 years have passed since last update.

borderで囲むボタン

Posted at

目的

複数のボーダーで囲ったデザインのボタンを作成したい。
スクリーンショット 2018-04-25 13.34.46.png

slim
.box.parent
  .box.children
   .box.grandson
scss
.box {
  border-radius: 100px;
  &.parent {
    width: 600px;
    height: 150px;
    border: 4px solid green;
  }
  &.children {
    width: 580px;
    height: 130px;
    border: 4px solid blue;
    margin: 6px;
  }
  &.grandson {
    width: 560px;
    height: 110px;
    border: 4px solid red;
    margin: 6px;
  }
}

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1