UI - suggestion bubble list design

0 votes
93 views
added Jan 31 in UI design by lcjr First Warrant Officer (11,720 points)
recategorized Jan 31 by LC Marshal
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Suggestion Bubbles</title>
  <style>
    body {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      margin: 0;
    }

    .suggestion-bubble {
      margin-right: 10px;
    }

    .bubble {
      border: 1px solid blue;
      border-radius: 5px;
      color: blue;
      background-color: transparent; /* No background color */
      padding: 10px;
      display: inline-block;
    }
  </style>
</head>
<body>
  <div class="suggestion-bubble">
    <div class="bubble">Item 1</div>
  </div>

  <div class="suggestion-bubble">
    <div class="bubble">Item 2</div>
  </div>

  <div class="suggestion-bubble">
    <div class="bubble">Item 3</div>
  </div>
</body>
</html>

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...