Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Opa</title>
- <style>
- .wrapper{
- width: 300px;
- }
- .card{
- border: solid 1px;
- border-color: darkturquoise;
- padding: 10px;
- border-width: 5px;
- border-radius: 20px;
- display: grid;
- grid-template-columns: 30% 70%;
- text-align: center;
- }
- .card-image > img{
- max-width: 100px;
- }
- .card-content, .card-image{
- align-self: center;
- }
- </style>
- </head>
- <body>
- <div class="wrapper">
- <div class="card">
- <div class="card-image">
- <img src="home-128.png"/>
- </div>
- <div class="card-content">
- <div>Texto aqui</div>
- <div>
- <button>on</button>
- <button>off</button>
- </div>
- </div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement