* { margin: 0; padding: 0; box-sizing: border-box; } $maincolor: #ef7086; $subcolor: #f4c0d0; $desktop: 1025px; $table: 1024px; $moblie: 767px; #top { overflow-x: hidden !important; } .violetbeauty_line { margin: 0px auto 20px; border: 1px solid transparent; background: linear-gradient(to right, white, white), linear-gradient(to right, $subcolor, #d76478); background-clip: padding-box, border-box; background-origin: padding-box, border-box; width: 50px; opacity: 1 !important; } .playbutton { cursor: pointer; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 101; transition: 0.3s; &:hover { opacity: 0.8; } } .likeSee__state { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; img { width: 40px; } } .learn_more { margin-top: 20px; padding: 5px; background: none; color: $subcolor; border-radius: 5px; border: 1px solid $subcolor; // border:none; transition: 0.3s; &:hover { color: #fff; background: $subcolor; } } .course_name_title { font-size: 1.2rem; color: $maincolor; font-weight: 900; } .course_name_text { color: $subcolor; margin-bottom: 5px; font-size: 1rem; } .Discounted_price { font-size: 24px; font-weight: 600; } .violetbeauty_content_title { color: $maincolor; font-weight: 900; font-size: 1.8rem; } .violetbeauty_content_text { color: $maincolor; font-size: 1rem; } .features_title { font-weight: 300 !important; letter-spacing: 2px; font: 1.9375em "微軟正黑體"; line-height: 25px; text-align: center; color: #333; width: 100%; margin: 1rem 0; } .Down_line { width: 300px; object-fit: cover; } .card { border: none; .card-body { padding: 0.1rem; margin-top: 15px; } } .violetbeauty_CTA { margin-top: 50px; padding: 10px 50px; border: 1px solid $subcolor; background: #fff; border-radius: 30px; color: $maincolor; position: relative; transition: 0.5s; a { color: $maincolor; } .cta_flower { position: absolute; width: 60px; left: -25px; bottom: -10px; transition: 0.5s; } &:hover { background: $maincolor; a { color: #fff; } color: #fff; .cta_flower { transform: rotate(360deg); } } } .navbar-nav { flex-direction: row; width: 70%; margin: 0 auto; .nav-item { white-space: nowrap; } .nav-link { font: 1.2rem 微軟正黑體; font-weight: 300 !important; padding: 0.5rem 1rem; margin: 5px 1rem; text-align: center; color: #9f9f9f; color: #000; letter-spacing: 0; border-bottom: 5px solid #ffffff; box-sizing: border-box; cursor: pointer; &:hover { color: $maincolor; } } } // 手機導覽頁 #Navigation { background: #fff; opacity: 1; height: 4.5vw; width: 100vw !important; position: fixed; z-index: 100; @media screen and(max-width:$table) { height: 8vw; } @media screen and(max-width:$moblie) { height: auto; position: fixed; z-index: 5; } .menu { font-size: 28px; margin-top: 30px; color: #6c6c6c; } #nav { width: 100vw; margin: 0 auto; } // rwd要注意高度 #logo { padding-top: 1vw; img { width: 120px; } } #link { text-align: right; padding: 1.5vw 3vw; @media screen and(max-width:$moblie) { display: none; } a { text-decoration: none; color: #000; letter-spacing: 1px; font-size: 0.9rem; font-weight: 600; cursor: pointer; padding: 15px; position: relative; :hover { opacity: 0.8; } &:after { content: ""; display: block; width: 80%; height: 3px; background-color: #fff; position: absolute; left: 12%; bottom: 0; transition: all 0.3s; opacity: 0; } &:hover:after { width: 80%; opacity: 1; } } } } // 手機彈跳視窗 #menu-box { top: 4.4rem; height: 25vh; width: 100vw; position: fixed; z-index: 998; overflow: hidden; display: none; background: rgba(0, 0, 0, 0.8); @media screen and(min-width:$desktop) { display: none; } @media screen and(max-width:$moblie) { height: 100vh; } @media screen and(max-width:350px) { height: 55vh; } hr { display: inline-block; margin: 0px auto !important; width: 55vw; background: #fff; opacity: 1 !important; } #menu-box2 { width: 100vw; height: 25vh; background-color: $subcolor; opacity: 0.95; z-index: 999; text-align: center; @media screen and(max-width:$moblie) { height: 45vh; } @media screen and(max-width:350px) { height: 55vh; } #menu-link { display: grid; grid-template-columns: repeat(4, 1fr); width: 60vw; margin: 0 auto; } .menu-logo { opacity: 1; img { width: 7vw; } } a { display: inline-block; text-decoration: none; color: #fff; font-size: 16px; margin-top: 20px; font-weight: 900; @media screen and(max-width:$moblie) { margin-top: 4vw; } } .menu-text { width: 70vw; text-align: center; margin-bottom: 10px; border-bottom: 1px solid #fff; margin: 0 auto; padding-bottom: 10px; @media screen and(max-width:$moblie) { margin-bottom: 5px !important; } } } } .slick-dotted.slick-slider { margin-bottom: 0px !important; } .sec_content_right_text { margin-top: 30px; p { margin-bottom: 0.5rem; color: $maincolor; } } .banner-slide { @media screen and(max-width:$moblie) { padding-top: 80px; } } .news { margin: 100px 0px; @media screen and(max-width:$moblie) { margin: 50px 0px 80px; } .news-slide { width: 80%; margin: 0 auto; @media screen and(max-width:$moblie) { width: 95%; } .slick-prev, .slick-next { width: 50px; object-fit: cover; height: auto; filter: invert(52%) sepia(75%) saturate(602%) hue-rotate(306deg) brightness(102%) contrast(87%); @media screen and(max-width:$moblie) { width: 30px; } } .slick-prev { left: -50px; @media screen and(max-width:$moblie) { display: none; } } .slick-next { right: -50px; @media screen and(max-width:$moblie) { display: none; } } // .slick-prev:before{ // content: "〈"; // color:#000; // font-size: 72px; // font-weight: 900; // right:100px; // z-index: 900; // } .banner-slide-item { img { padding: 10px; width: 100% !important; @media screen and(max-width:$moblie) { padding: 0px; } } } .slick-dots { bottom: -15px; li { // margin-top: -50px; // 上右下左 button:before { font-size: 16px; font-weight: 900; top: 15px; content: "○"; color: $maincolor; } } li.slick-active button:before { opacity: 0.75; color: $maincolor; content: "●"; } } } } .violetbeauty_sec00 { overflow: hidden; background-size: cover; background-attachment: fixed; background-position: left center; background-repeat: no-repeat; position: relative; @media screen and(max-width:$moblie) { // background-attachment: inherit; background-position: right center; } .bg { background: rgba(0, 0, 0, 0.4); width: 100%; height: 100%; padding: 100px 0; } hr { background: #fff; opacity: 1 !important; height: 1px; width: 40px; margin: 15px auto; } p { color: #fff; } h4 { color: #fff; } .violetbeauty_sec00_box { width: 80%; margin: 0 auto; @media screen and(max-width:$moblie) { width: 90%; } .sec00_content_left_img { width: 70%; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); @media screen and(max-width:$moblie) { width: 80%; } } .sec00_content_right { text-align: center; margin-top: 30px; p { margin-bottom: 0.8rem; } } } } // .slick-prev:before{ // content: "〈"; // color:#000; // font-size: 72px; // font-weight: 900; // right:100px; // z-index: 900; // } // .banner-slide { // .slick-dots { // bottom: 30px; // li { // // margin-top: -50px; // // 上右下左 // button:before { // font-size: 16px; // font-weight: 900; // top: 15px; // content: "○"; // color: #82689d; // } // } // li.slick-active button:before { // opacity: 0.75; // color: #82689d; // content: "●"; // } // } // } // .violetbeauty_sec00 { // background: #f8f2f6; // padding: 80px 0; // position: relative; // .sec00_img1 { // left: 0px; // bottom: 20px; // width: 300px; // opacity: 0.8; // } // .sec00_img2 { // right: 0px; // top: 50px; // width: 180px; // opacity: 0.8; // transform: rotate(-90deg); // } // .sec00_img3 { // right: 100px; // bottom: 80px; // width: 60px; // opacity: 0.5; // transform: rotate(-30deg); // } // .violetbeauty_sec00_box { // width: 80%; // margin: 0 auto; // .sec00_content_left_img { // width: 60%; // box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); // } // .sec00_content_right { // text-align: center; // margin-top: 50px; // } // } // } // .violetbeauty_sec01, // .violetbeauty_sec02 { // padding: 50px 0; // .slick-prev:before { // content: ""; // } // .slick-next:before { // content: ""; // } // .violetbeauty_sec01_box { // width: 80%; // margin: 0 auto; // } // .violetbeauty_sec01_content { // margin-top: 30px; // .sec01_slide_item { // padding: 20px; // img { // // width: 180px; // height: 250px; // object-fit: cover; // margin: 0 auto; // } // } // } // } // .violetbeauty_sec02 { // background: $subcolor; // .card { // background: $subcolor; // } // .violetbeauty_sec02_content { // margin-top: 30px; // .violetbeauty_sec02_sub_title { // font-family: "Noto Sans TC", sans-serif; // font-size: 20px; // font-weight: normal; // color: $maincolor; // } // b { // width: 10px; // height: 10px; // background: $maincolor; // transform: rotate(45deg); // margin: 1rem 0; // display: inline-block; // } // } // .sec02_slide_item { // padding: 30px; // } // .violetbeauty_service_img { // img { // width: 290px; // height: 290px; // object-fit: cover; // border-radius: 50%; // margin: 0 auto; // } // } // .violetbeauty_service p { // margin: 10px 0; // font-family: "Noto Sans TC", sans-serif; // font-size: 16px; // color: $maincolor; // display: inline-block; // width: 90%; // border-bottom: 1px dashed $maincolor; // padding: 0.5rem 0; // cursor: pointer; // } // // .violetbeauty_service_item,p{ // // margin: 10px 0; // // font-family: 'Noto Sans TC', sans-serif; // // font-size: 16px; // // color: #CC7DB7; // // display: inline-block; // // width: 100%; // // border-bottom: 1px dashed $maincolor; // // padding:0 1rem; // // display: -webkit-box; // // display: -ms-flexbox; // // display: flex; // // -webkit-box-pack: justify; // // -ms-flex-pack: justify; // // justify-content: space-around;; // // -webkit-box-align: center; // // -ms-flex-align: center; // // align-items: center; // // } // } .sec01_course { background: #fff2f1; } .sec02_course { background: #fff; } .sec01_course, .sec02_course { // margin:80px 0; padding: 50px 0; // background: #fff2f1; .sec01_course_box { width: 80%; margin: 0 auto; background: #fff; @media screen and(max-width:$moblie) { width: 90%; } .sec01_course_text { text-align: center; padding: 15px 5.6%; letter-spacing: 1px; @media screen and(max-width:$moblie) { padding: 15px 2.8%; } del { font-size: 1.2rem; color: #888; @media screen and(max-width:$moblie) { font-size: 1rem; } } span { color: #ef7086; font-size: 1.6rem; @media screen and(max-width:$moblie) { font-size: 1.4rem; } } p { font-size: 14px; color: #555; padding: 15px 0 0; } .submitbutton { width: 80%; margin: 20px auto; border: none; padding: 10px 12px; background: $subcolor; color: #fff; font-size: 20px; border-radius: 0.25rem; text-align: center; vertical-align: middle; border: 1px solid $subcolor; &:hover { color: $subcolor; background-color: #fff; border: 1px solid $subcolor; } } } } } .violetbeauty_sec03 { padding: 100px 0; margin-bottom: 50px; position: relative; letter-spacing: 1px; @media screen and(max-width:$moblie) { padding: 50px 0; margin-bottom: 0; } .sec03_img1 { position: absolute; left: 50px; top: 50px; opacity: 0.5; } .sec03_img2 { position: absolute; right: -120px; width: 400px; top: 40%; opacity: 0.5; transform: rotate(-70deg); } .sec03_img3 { position: absolute; right: 0px; opacity: 0.5; width: 250px; bottom: 50px; transform: scaleX(-1) rotate(19deg); -moz-transform: scaleX(-1) rotate(19deg); -webkit-transform: scaleX(-1) rotate(19deg); -o-transform: scaleX(-1) rotate(19deg); } .violetbeauty_sec03_box { width: 75%; margin: 0 auto; @media screen and(max-width:$moblie) { width: 90%; } .violetbeauty_sec03_content { margin-top: 100px; @media screen and(max-width:$moblie) { margin-top: 50px; } } } .violetbeauty_contract_form { width: 70%; margin: 0 auto; @media screen and(max-width:$moblie) { width: 90%; } .submitbutton { width: 100%; margin: 16px auto; border: none; padding: 16px 12px; background: $subcolor; color: #fff; font-size: 20px; border-radius: 0.25rem; text-align: center; vertical-align: middle; border: 1px solid $subcolor; &:hover { color: $subcolor; background-color: #fff; border: 1px solid $subcolor; } } #time, #datepicker { width: 45%; padding: 10px 15px; border-radius: 3px; margin: 10px 0px; border: 1px solid rgba(0, 0, 0, 0.3); } #time { margin-left: 8%; } #phone, #email, #loc, #name, #course_name { width: 100%; padding: 10px 15px; font-size: 16px; border-radius: 3px; margin: 10px 0px; border: 1px solid rgba(0, 0, 0, 0.3); -webkit-appearance : none !important; } } } // .violetbeauty_sec01{ // width: 80%; // margin:0 auto ; // .features{ // width: 100%; // height: auto; // margin: 17px 0 0 0; // } // .violetbeauty_sec01_content{ // margin-top: 30px; // .sec01_content_left{ // width: 85%; // .sec01_content_box{ // margin-top: 20%; // .sec01_content_title_1{ // color: #452767; // font-size: 3.5rem; // text-align: center; // } // .sec01_content_title_2{ // h3{ // font-size:1.6rem ; // text-align: center; // color: #452767; // letter-spacing: 3px; // font-weight:600 // } // } // .sec01_content_text{ // p{ // font-size: 1.2rem; // text-align: center; // } // } // } // } // .sec01_content_right{ // .sec01_content_img{ // width: 100%; // // margin: 0 auto; // } // } // } // } .logo { img { width: 300px; // height: 66px; object-fit: cover; } } .violetbeauty_logo { width: 300px; object-fit: cover; } #footer { // background: #edcde1; background: #fff2f1; color: #6c6c6c; .phone { transform: rotate(100deg); } .footer_content_box { padding: 50px 0; margin: 0 auto; width: 80%; letter-spacing: 1px; @media screen and(max-width:$moblie) { width: 90%; } li a { width: 100%; text-align: left; color: #6c6c6c; } .border_line { margin-top: 30px; background: #ccc; opacity: 1 !important; margin-bottom: 0.5rem; } } .socail-link { a { margin-right: 8px; } } .footer_text_box { @media screen and(max-width:$moblie) { width: 80%; margin: 0 auto; } h3 { font-size: 1rem; } h3, p { letter-spacing: 2px; } .navbar-nav { width: auto; .nav-link { margin: 0; padding: 0; border-bottom: none; transition: all 0.2s; font-size: 1rem; text-align: center; &:hover { color: $maincolor; } } .nav-item { // width: 80px; margin-right: 20px; margin-bottom: 10px; min-width: auto; } } } .footer_text { margin-top: 15px; @media screen and(max-width:$moblie) { font-size: 0.85rem; } } .socail-link { margin-top: 30px; @media screen and(max-width:$moblie) { text-align: center; } a { transition: 0.3s; &:hover { opacity: 0.8; } } } .store { width: 85%; margin: 0 auto; @media screen and(max-width:$moblie) { margin-top: 50px; } p { margin-top: 10px; } h3 { font-size: 1.5rem; font-weight: 300 !important; } p { margin-bottom: 0.5rem; font-weight: 300 !important; } } .footer_logo { img { position: relative; right: 30px; width: 300px; object-fit: cover; } } .google_map { width: 100%; padding: 14px 20px; background: none; color: #3f51b5; border: 1px solid #3f51b5; border-radius: 3px; transition: 0.3s; overflow-x: hidden; a { text-decoration: none; color: #3f51b5; } &:hover { background: #3f51b5; color: #fff; a { color: #fff; } } } .line_Reserve { width: 100%; padding: 15px 20px; background: #52b448; border: 1px solid #52b448; color: #fff; border: none; border-radius: 3px; transition: 0.3s; overflow-x: hidden; a { color: #fff; text-decoration: none; } &:hover { background: #fff; color: #52b448; a { color: #52b448; } } } } #footer-secondary { background: #fff2f1; color: #6c6c6c; .footer_content_box { padding: 50px 0; margin: 0 auto; width: 80%; @media (max-width: 767px) { width: 85%; } } h3 { font-size: 1rem; } h3, p { letter-spacing: 2px; } li a { width: 100%; text-align: left; color: #6c6c6c; } .navbar-nav { width: auto; .nav-link { margin: 0; padding: 0; border-bottom: none; transition: all 0.2s; &:hover { color: $maincolor; } } .nav-item { min-width: 105px; } @media (max-width: 767px) { .nav-item { min-width: auto; width: 90px; } .nav-link { font-size: 1rem; text-align: center; } } } .socail-link { img { image-rendering: -webkit-optimize-contrast; filter: invert(42%) sepia(0%) saturate(1863%) hue-rotate(226deg) brightness(100%) contrast(96%); &:hover { // #ef7086 // filter: invert(66%) sepia(60%) saturate(2844%) hue-rotate(307deg) brightness(99%) contrast(90%); opacity: 0.8; } } } .footer_text { margin-top: 15px; @media (max-width: 767px) { p { font-size: 0.85rem; } } } .store_name { color: $maincolor; } .store { width: 85%; margin: 0 auto; p { margin-top: 10px; } } .footer_logo { img { position: relative; right: 30px; width: 250px; object-fit: cover; } } } .gototop { position: fixed; right: 3vw; bottom: 0.5vw; z-index: 10; border-radius: 80px; font-size: 32px; color: #fff; width: 50px; height: 50px; background: $subcolor; cursor: pointer; } #banner-slide3{ margin-top: 100px; @media screen and(max-width:$moblie) { margin-top:30px; } } /* banner */ .facial-banner, .massage-banner, .store-banner { padding: 150px 0; position: relative; background-size: cover; background-repeat: no-repeat; image-rendering: -webkit-optimize-contrast; p { position: absolute; right: 50%; transform: translate(50%, 50%); font-size: 40px; color: white; text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8); } } /* 臉部課程-facial start */ .facial-banner { background-image: url(/img/banner-facial.jpg); background-position: 25% 25%; p { bottom: 45%; } } .facial-content { margin: 100px auto; p { margin: 0; line-height: 32px; } img { height: 250px; object-fit: cover; } button { display: none; padding: 7px 30px; position: absolute; bottom: -20px; right: 50%; transform: translate(50%, 0); color: #ffffff; background-color: $maincolor; white-space: nowrap; font-weight: bold; transition: all 0.3s; @media screen and(max-width:$moblie) { display: block; } &::after { content: ""; display: inline-block; vertical-align: middle; width: 8px; height: 8px; margin: 0 0 2px 10px; border: 1px solid #fff; border-left: 0 none; border-bottom: 0 none; -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -webkit-transform: rotate(45deg); transform: rotate(45deg); } &:hover { color: #ffffff; background-color: $subcolor; } } .card { cursor: pointer; border: 1px solid #cccccc; .card-body { padding: 10px 20px 20px; } &:hover { button { display: block; } .img-box img { transform: scale(1.1, 1.1); } } } .badge { height: 30px; line-height: 1.9; background-color: $maincolor; } .img-box { overflow: hidden; img { width: 100%; height: auto; object-fit: contain; transition: all 1s; image-rendering: -webkit-optimize-contrast; } } } .modal-header { border-bottom: none !important; } .modal-body { letter-spacing: 1px; p { line-height: 32px; } h5 { font-size: 25px; } img { border-radius: 20px; } .price-box span { font-size: 18px; font-weight: bold; color: $maincolor; &:last-child { font-size: 16px; font-weight: normal; text-decoration: line-through; } } .recommend-item { display: flex; flex-direction: column; align-items: center; justify-content: center; border-top: 1px dashed $subcolor; span { width: 100px; padding: 10px; margin: 25px 0 15px; padding-left: 15px; letter-spacing: 5px; font-size: 16px; color: #ffffff; background-color: $maincolor; } li { margin: 5px 0; } } section { height: 75%; } } .time-box { img { width: 18px; height: 18px; margin-right: 5px; image-rendering: -webkit-optimize-contrast; } p { margin: 0; font-size: 14px; color: $maincolor; } span { font-size: 20px; font-weight: bold; } } .modal-body img { image-rendering: -webkit-optimize-contrast; } /* 臉部課程-facial end */ /* 門市資訊-store start */ .store-banner { background-image: url(/img/banner-store.jpg); background-position: 25% 30%; p { bottom: 45%; } } .store-content { margin: 150px auto; letter-spacing: 1px; i { color: #b2adae; font-size: 20px; } h3 { margin-bottom: 20px; font-weight: bold; color: $maincolor; } img { width: 100%; border-radius: 20px 0 0 20px; @media (max-width: 767px) { border-radius: 20px 20px 0 0; } } .info-box { width: 270px; margin: auto; @media (max-width: 375px) { width: 100%; } } .Down_line { width: 230px; margin-top: -20px; } .row { margin: 15%; border: 1px solid #f4c0d0; border-radius: 20px; @media (max-width: 1200px) { margin: 10%; } @media (max-width: 992px) { margin: 0px; } } .google_map { width: 100%; padding: 7px 15px; margin-top: 1px; background: none; color: #3f51b5; border: 1px solid #3f51b5; border-radius: 3px; -webkit-transition: 0.3s; transition: 0.3s; font-size: 15px; letter-spacing: 1px; overflow-x: hidden; a { text-decoration: none; color: #3f51b5; } &:hover { background: #3f51b5; color: #fff; a { color: #fff; } } } .line_Reserve { width: 100%; margin-left: 10%; padding: 8px 15px; background: #52b448; color: #fff; border: 1px solid #52b448; border-radius: 5px; transition: 0.3s; font-size: 15px; letter-spacing: 1px; overflow-x: hidden; a { color: #fff; text-decoration: none; } &:hover { background: #fff; color: #52b448; a { color: #52b448; } } @media (max-width: 575px) { margin-left: 0; margin-top: 5%; } } @media (max-width: 992px) { p { font-size: 0.9rem; } h3 { font-size: 1.3rem; } } } /* 門市資訊-store end */ /* 身體課程-massage start */ .massage-banner { background-image: url(/img/banner-massage.jpg); background-position: center; p { bottom: 45%; } } .massage-modal-item { .modal-body .badge { width: auto; padding-left: 13px; letter-spacing: 2px; } } /* 身體課程-massage end */ /* 關於我們-about start */ .about-content { margin-bottom: 100px; p { padding: 0 60px; line-height: 35px; text-align: justify; } .title { font-size: 30px; letter-spacing: 3px; font-weight: bold; } .container { margin: 15% 5%; } .bg-item { height: 120%; background-color: #fff2f1; position: absolute; z-index: -1; bottom: -10%; left: -5%; width: 90%; } .iframe-box { position: relative; width: 100%; height: 0; padding-bottom: 73%; } .iframe-box video { position: absolute; top: 0; left: 0; // width: 100%; height: 100%; box-shadow: 0 0 10px rgba(32, 32, 32, 0.25); } .icon-box { .row { padding: 0 30px; @media (max-width: 1200px) { padding-left: 13%; } @media (max-width: 768px) { padding: 0; } } .col-6 { flex-direction: row; @media (max-width: 767px) { flex-direction: column; } } img { width: 50px; image-rendering: -webkit-optimize-contrast; filter: invert(71%) sepia(13%) saturate(3318%) hue-rotate(302deg) brightness(90%) contrast(110%); } span { margin: 15px; font-weight: bold; } .icon-item { padding: 15px; margin: auto 0; border: 1px solid $subcolor; border-radius: 100%; } } @media (max-width: 1200px) { .container { margin: 10% auto; p { padding: 0; } } .content-box { margin-top: 100px; } } } /* 關於我們-about end */ .bottom_line { margin: 0px auto 20px; border: 1px solid transparent; background: linear-gradient(to right, white, white), linear-gradient(to right, $subcolor, #d76478); background-clip: padding-box, border-box; background-origin: padding-box, border-box; width: 50px; }