[Vuejs]-How to create a rectangle outline in vuejs without having to install any packages?

0๐Ÿ‘

.square {
  position:relative;
  border: 1px solid blue;
  width: 100px;
  height: 100px;
}

.square::after {
  position:absolute;
  content: '';
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 1px solid blue;
}

5px is the gap between the borders.

Leave a comment