• 돌아가기
  • 아래로
  • 위로
  • 목록
  • 댓글
잡담

npm 404 page 소스 공유해봅니다.

purndal 308

5

7

화면 캡처 2023-11-20 160123.png.jpg

 

화면 캡처 2023-11-20 160154.png.jpg

 

<style>
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700');
@import url('https://fonts.googleapis.com/css?family=Catamaran:400,800');
.error-container {
  text-align: center;
  font-size: 106px;
  font-family: 'Catamaran', sans-serif;
  font-weight: 800;
  margin: 70px 15px;
}
.error-container > span {
  display: inline-block;
  position: relative;
}
.error-container > span.four {
  width: 136px;
  height: 43px;
  border-radius: 999px;
  background:
    linear-gradient(140deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.07) 43%, transparent 44%, transparent 100%),
    linear-gradient(105deg, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.06) 41%, rgba(0, 0, 0, 0.07) 76%, transparent 77%, transparent 100%),
    linear-gradient(to right, #d89ca4, #e27b7e);
}
.error-container > span.four:before,
.error-container > span.four:after {
  content: '';
  display: block;
  position: absolute;
  border-radius: 999px;
}
.error-container > span.four:before {
  width: 43px;
  height: 156px;
  left: 60px;
  bottom: -43px;
  background:
    linear-gradient(128deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.07) 40%, transparent 41%, transparent 100%),
    linear-gradient(116deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.07) 50%, transparent 51%, transparent 100%),
    linear-gradient(to top, #99749D, #B895AB, #CC9AA6, #D7969E, #E0787F);
}
.error-container > span.four:after {
  width: 137px;
  height: 43px;
  transform: rotate(-49.5deg);
  left: -18px;
  bottom: 36px;
  background: linear-gradient(to right, #99749D, #B895AB, #CC9AA6, #D7969E, #E0787F);
}

.error-container > span.zero {
  vertical-align: text-top;
  width: 156px;
  height: 156px;
  border-radius: 999px;
  background: linear-gradient(-45deg, transparent 0%, rgba(0, 0, 0, 0.06) 50%,  transparent 51%, transparent 100%),
    linear-gradient(to top right, #99749D, #99749D, #B895AB, #CC9AA6, #D7969E, #ED8687, #ED8687);
  overflow: hidden;
  animation: bgshadow 5s infinite;
}
.error-container > span.zero:before {
  content: '';
  display: block;
  position: absolute;
  transform: rotate(45deg);
  width: 90px;
  height: 90px;
  background-color: transparent;
  left: 0px;
  bottom: 0px;
  background:
    linear-gradient(95deg, transparent 0%, transparent 8%, rgba(0, 0, 0, 0.07) 9%, transparent 50%, transparent 100%),
    linear-gradient(85deg, transparent 0%, transparent 19%, rgba(0, 0, 0, 0.05) 20%, rgba(0, 0, 0, 0.07) 91%, transparent 92%, transparent 100%);
}
.error-container > span.zero:after {
  content: '';
  display: block;
  position: absolute;
  border-radius: 999px;
  width: 70px;
  height: 70px;
  left: 43px;
  bottom: 43px;
  background: #FDFAF5;
  box-shadow: -2px 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.screen-reader-text {
    position: absolute;
    top: -9999em;
    left: -9999em;
}
    
@keyframes bgshadow {
  0% {
    box-shadow: inset -160px 160px 0px 5px rgba(0, 0, 0, 0.4);
  }
  45% {
    box-shadow: inset 0px 0px 0px 0px rgba(0, 0, 0, 0.1);
  }
  55% {
    box-shadow: inset 0px 0px 0px 0px rgba(0, 0, 0, 0.1);
  }
  100% {
    box-shadow: inset 160px -160px 0px 5px rgba(0, 0, 0, 0.4);
  }
}

/* demo stuff */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
body {
  background-color: #FDFAF5;
  margin-bottom: 50px;
}
html, button, input, select, textarea {
    font-family: 'Montserrat', Helvetica, sans-serif;
    color: #bbb;
}
h1 {
  text-align: center;
  margin: 30px 15px;
}
.zoom-area { 
  max-width: 490px;
  margin: 30px auto 30px;
  font-size: 19px;
  text-align: center;
}
.link-container {
  text-align: center;
}
a.more-link {
  text-transform: uppercase;
  font-size: 13px;
    background-color: #de7e85;
    padding: 10px 15px;
    border-radius: 0;
    color: #fff;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
    line-height: 1.5;
    text-decoration: none;
  margin-top: 50px;
  letter-spacing: 1px;
}
</style>
<h1>404 Error Page</h1>
<p class="zoom-area">The person in charge is on <b>vacation</b>. </p>
<section class="error-container">
  <span class="four"><span class="screen-reader-text">4</span></span>
  <span class="zero"><span class="screen-reader-text">0</span></span>
  <span class="four"><span class="screen-reader-text">4</span></span>
</section>
<!---
<div class="link-container">
  <a target="_blank" href="https://www.silocreativo.com/en/creative-examples-404-error-css/" class="more-link">Visit the original article</a>
--->
</div> 

 

이번에 도메인 연결 된 것들 잠시 중단을 위해서 찾아보다가 깔끔해서 설정해봤네요 ㅎㅎ. 

 

아... 딱.... 접속 카운터만 자리잡으면 좋으려면 이대로도 깔끔해보이네요 ㅎㅎ. 

 

아.. 참고 사이트 입니다. 

 

35+ HTML 404 Page Templates - DEV Community

 

신고공유스크랩
7

댓글 쓰기 권한이 없습니다. 로그인

취소 댓글 등록

cmt alert

신고

"님의 댓글"

이 댓글을 신고하시겠습니까?

댓글 삭제

"님의 댓글"

삭제하시겠습니까?


목록

공유

facebooktwitterpinterestbandkakao story
번호 분류 제목 글쓴이 날짜 조회 추천
정보 애즈락 메인보드의 경우 PROXMOX가 VT-D 인식 못하네요. 1 WHYism 2시간 전14:49 57 +1
질문 대한민국은 왜 데비안 계열로 구름 하모니카를 했을까요. 11 WHYism 18시간 전22:51 214 +1
잡담 Proxmox 를 추천해주신 분들께 정말 그랜절 올리며 감사말씀 전해드립니다. 9 루비온 2일 전16:20 262 +3
3093 정보
image
WHYism 2시간 전14:49 57 +1
3092 질문
normal
WHYism 18시간 전22:51 214 +1
3091 잡담
image
WHYism 19시간 전21:51 151 0
3090 잡담
image
빨간물약 1일 전17:24 181 0
3089 질문
image
짬타이거 1일 전09:40 99 0
3088 질문
image
woojin3207 1일 전04:53 103 0
3087 후기
image
WHYism 1일 전23:56 134 0
3086 후기
image
WHYism 1일 전23:12 105 0
3085 오픈소스
image
달소 1일 전19:50 204 0
3084 잡담
normal
루비온 2일 전16:20 262 +3
3083 정보
image
WHYism 2일 전15:06 226 +1
3082 질문
normal
빨간물약 2일 전00:16 146 0
3081 잡담
normal
WHYism 2일 전22:05 351 +1
3080 질문
normal
dowon 2일 전20:12 138 0
3079 잡담
normal
jerry80 2일 전20:33 263 +5
3078 질문
image
WHYism 3일 전17:01 192 0
3077 정보
image
NavyStack 3일 전16:16 127 +2
3076 잡담
image
설레발 3일 전14:01 107 0
3075 잡담
image
EXP 3일 전12:36 404 0
3074 질문
image
하하하나나나나 3일 전11:10 73 0