DEV Community

Marwan Benznana
Marwan Benznana

Posted on

2 2

I need like this in a different way any volunteer?

    <div class="home-border">
      <div class="left-border"></div>
      <div class="right-border"></div>
      <div class="top-border"></div>
      <div class="bottom-border"></div>
    </div>
Enter fullscreen mode Exit fullscreen mode
<style>
/* Borders */
.home-border {
  position: relative;
}
.home-border .left-border {
  position: absolute;
  height: 100vh;
  width: 2px;
  background-color: var(--main-color);
  top: 0;
  left: 10px;
}
.home-border .right-border {
  position: absolute;
  height: 100vh;
  width: 2px;
  background-color: var(--main-color);
  top: 0;
  right: 10px;
}
.home-border .top-border {
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: var(--main-color);
  top: 10px;
  left: 0;
}
.home-border .bottom-border {
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: var(--main-color);
  top: 98.8vh;
  left: 0;
}
/* End Borders */
</style>
Enter fullscreen mode Exit fullscreen mode

Image description

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (2)

Collapse
 
yuridevat profile image
Julia πŸ‘©πŸ»β€πŸ’» GDE β€’

Maybe explaining what exactly your need, what the different way is, would help others to help you out!

Collapse
 
benz_marwan profile image
Marwan Benznana β€’

Thank you for your comment Julia,
I meant the crossed borders in background. I want to see creating them with a different way.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay