Search
 
SCRIPT & CODE EXAMPLE
 

CSS

vertical multi color border css

.fancy-border {
  width: 150px;
  height: 150px;
  text-align:center;
  border-top: 5px solid;
  border-image:   linear-gradient(to right, grey 25%, yellow 25%, yellow 50%,red 50%, red 75%, teal 75%) 5;
}
Comment

vertical multi color border css

<div class="fancy-border">
  my content
</div>
Comment

vertical multi color border css

body {
  background: #ccc;
}

.box {
  text-align: center;
  position: relative;
  line-height: 100px;
  background: #fff;
  height: 100px;
  width: 300px;
}

.box:after {
  background: linear-gradient(to right, #bcbcbc 25%,#ffcd02 25%, #ffcd02 50%, #e84f47 50%, #e84f47 75%, #65c1ac 75%);
  position: absolute;
  content: '';
  height: 4px;
  right: 0;
  left: 0;
  top: 0;
}
Comment

vertical multi color border css

.test {
  width: 500px;
  height: 100px;
  background-color: #ccc;
  position: relative;
}

.test:before,
.test:after {
  content: "";
  position: absolute;
  left: 0px;
  right: 0px;
  height: 10px;
  background-image: -webkit-linear-gradient(0deg, red 20px, blue 20px, blue 40px, yellow 40px, yellow 60px, green 60px, green 80px);
  background-image: -ms-linear-gradient(0deg, red 20px, blue 20px, blue 40px, yellow 40px, yellow 60px, green 60px, green 80px);
  background-size: 80px;
}

.test:before {
  top: 0px;
}

.test:after {
  bottom: 0px;
}
Comment

vertical multi color border css

<div class="test"></div>
Comment

vertical multi color border css

<div class="box">Div</div>
Comment

PREVIOUS NEXT
Code Example
Css :: numpy not installling 
Css :: how to add carasoule in html using css 
Css :: how to remove underline from link 
Css :: Importar una fuente CSS 
Css :: elementsone after other css 
Css :: truncate long line with dots 
Css :: powershell convertto-html css 
Css :: qa vs q! 
Css :: light grey border css 
Css :: pourquoi mon css ne fonctionne pas quand je recharge la page 
Css :: datatables when filtering snaps to top of page 
Css :: immagini con transizioni css bootstrap 
Css :: How to run our spider 
Css :: line on the text color css 
Css :: fit image inside css gid 
Css :: css address by id 
Css :: react right burger scrol bar 
Css :: disabled attribute on button still showing click animation safari macos 
Css :: move left and right text css 
Css :: chrome remove black inline from click button 
Css :: sed replace spaces with hyphen 
Css :: tf.reduce_mean(y_true,y_predicted) 
Css :: should use px or em css 
Css :: css grid media queries 
Css :: how to draw hex colun in html css 
Css :: css linear-gradient angle 
Css :: font sixe sss 
Css :: slick cuted shadow 
Css :: bright btn background with white text 
Css :: html how to ensure that the header always on top 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =