LoginSignup
0
0

More than 3 years have passed since last update.

網掛けのborderを使う

Posted at

網掛けのborderを使う

.parent {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sample {
    border: 2px dashed #5b8bd0;
    width: 350px;
}
import React from 'react'
import './Hoge.css'

export const Hoge = () => {
    return (
        <>
            <div className="parent">
                <div className="sample">
                    <ul>
                        <li>ああああああああああ</li>
                        <li>ああああああああああ</li>
                        <li>ああああああああああ</li>
                        <li>ああああああああああ</li>
                    </ul>
                </div>
            </div>
        </>
    )
}

結果

スクリーンショット 2020-11-18 1.29.47.png

0
0
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
0
0