ro8ot

html

May 3rd, 2020
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5.40 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en" dir="ltr">
  3.   <head>
  4.     <meta charset="utf-8">
  5.    
  6.     <title></title>
  7.   </head>
  8.   <body>
  9.     <nav>
  10.  
  11.       <div class="container">
  12.         <ul class="navbar-left">
  13. <li><a href="#"><img src="https://i.imgur.com/ZMFgwj7.png" class="lop" alt=""></a></li><br><br>
  14.           <li><a href="#about">حراج</a></li>
  15.           <li><a href="#about">شوبي</a></li>
  16.           <li><a href="#">المتجر</a></li>
  17.         </ul>
  18.         <ul class="navbar-right">
  19.           <li><a href="#" id="cart"><i class="fa fa-shopping-cart"></i> Cart <span class="badge">3</span></a></li>
  20.         </ul> <!--end navbar-right -->
  21.       </div> <!--end container -->
  22. <br><br><br><br><br><br><br></nav>
  23.  
  24.     <h2 class="w3-center">مرحبا بك في موقع الأساطير</h2>
  25.         <img src="https://i.imgur.com/jkzntPd.jpg" class="tol">    <img src="https://i.imgur.com/uNTZwa7.jpg" class="tol1"><br><br><div class="card">
  26.  
  27.       <div class="card_part card_part-one">
  28.         <img src="https://i.imgur.com/jkzntPd.jpg" style="height: 100%;  width: 100%;" alt="">
  29.       </div>
  30.  
  31.        <!-- Photo 2 -->
  32.       <div class="card_part card_part-two">
  33.  
  34.         <img src="https://i.imgur.com/uNTZwa7.jpg" style="height: 100%;  width: 100%;" alt="">
  35.  
  36.       </div>
  37.  
  38.       <!-- Photo 3 -->
  39.       <div class="card_part card_part-three">
  40.         <img src="https://i.imgur.com/jkzntPd.jpg" style="height: 100%;  width: 100%;" alt="">
  41.  
  42.       </div>
  43.  
  44.       <!-- Photo 4 -->
  45.       <div class="card_part card_part-four">
  46.  
  47.         <img src="https://i.imgur.com/uNTZwa7.jpg" style="height: 100%;  width: 100%;" alt="">
  48.  
  49.       </div>
  50.  
  51.     </div>
  52. <style media="screen">
  53. @import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);
  54. @import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);
  55. *, *:before, *:after {
  56.   box-sizing: border-box;
  57. }
  58.  
  59. body {
  60.   font: 14px/22px "Lato", Arial, sans-serif;
  61.   background: #282825;
  62. }
  63.  
  64. .lighter-text {
  65.   color: #ABB0BE;
  66. }
  67.  
  68. .main-color-text {
  69.   color: #6394F8;
  70. }
  71.  
  72. nav {
  73.   padding: 1px 0 40px 0;
  74.   background: #F8F8F8;
  75.   font-size: 16px;
  76. }
  77. nav .navbar-left {
  78.   float: left;
  79. }
  80. nav .navbar-right {
  81.   float: right;
  82. }
  83. nav ul li {
  84.   display: inline;
  85.   padding-left: 20px;
  86. }
  87. nav ul li a {
  88.   color: #000;
  89.   text-decoration: none;
  90. }
  91. nav ul li a:hover {
  92.   color: #1da0f1;
  93.  
  94. }
  95.  
  96. .container {
  97.   margin: auto;
  98.   width: 80%;
  99. }
  100.  
  101. .badge {
  102.   background-color: #6394F8;
  103.   border-radius: 10px;
  104.   color: white;
  105.   display: inline-block;
  106.   font-size: 12px;
  107.   line-height: 1;
  108.   padding: 3px 7px;
  109.   text-align: center;
  110.   vertical-align: middle;
  111.   white-space: nowrap;
  112. }
  113.  
  114. .shopping-cart {
  115.   margin: 20px 0;
  116.   float: right;
  117.   background: white;
  118.   width: 320px;
  119.   position: relative;
  120.   border-radius: 3px;
  121.   padding: 20px;
  122. }
  123. .lop{
  124.   height:110px;
  125. }
  126. .shopping-cart .shopping-cart-header {
  127.   border-bottom: 1px solid #E8E8E8;
  128.   padding-bottom: 15px;
  129. }
  130. .shopping-cart .shopping-cart-header .shopping-cart-total {
  131.   float: right;
  132. }
  133. .shopping-cart .shopping-cart-items {
  134.   padding-top: 20px;
  135. }
  136. .shopping-cart .shopping-cart-items li {
  137.   margin-bottom: 18px;
  138. }
  139. .shopping-cart .shopping-cart-items img {
  140.   float: left;
  141.   margin-right: 12px;
  142. }
  143. .shopping-cart .shopping-cart-items .item-name {
  144.   display: block;
  145.   padding-top: 10px;
  146.   font-size: 16px;
  147. }
  148. .shopping-cart .shopping-cart-items .item-price {
  149.   color: #6394F8;
  150.   margin-right: 8px;
  151. }
  152. .shopping-cart .shopping-cart-items .item-quantity {
  153.   color: #ABB0BE;
  154. }
  155.  
  156. .shopping-cart:after {
  157.   bottom: 100%;
  158.   left: 89%;
  159.   border: solid transparent;
  160.   content: " ";
  161.   height: 0;
  162.   width: 0;
  163.   position: absolute;
  164.   pointer-events: none;
  165.   border-bottom-color: white;
  166.   border-width: 8px;
  167.   margin-left: -8px;
  168. }
  169.  
  170. .cart-icon {
  171.   color: #515783;
  172.   font-size: 24px;
  173.   margin-right: 7px;
  174.   float: left;
  175. }
  176.  
  177. .button {
  178.   background: #6394F8;
  179.   color: white;
  180.   text-align: center;
  181.   padding: 12px;
  182.   text-decoration: none;
  183.   display: block;
  184.   border-radius: 3px;
  185.   font-size: 16px;
  186.   margin: 25px 0 15px 0;
  187. }
  188. .button:hover {
  189.   background: #729ef9;
  190. }
  191.  
  192. .clearfix:after {
  193.   content: "";
  194.   display: table;
  195.   clear: both;
  196. }
  197. *,
  198. *::before,
  199. *::after { box-sizing: border-box; }
  200. .tol{
  201.   width: 300px;
  202.   border-radius: 5px;
  203. }
  204.  
  205. .tol1{
  206.   width: 200px;
  207.   border-radius: 5px;
  208. }
  209. .card {
  210.   position: relative;
  211.  
  212.   width: 500px;
  213.   height: 400px;
  214.   overflow: hidden;
  215.  
  216.   border-radius: 5px;
  217.   box-shadow: 0px 4px 10px rgba(10, 0, 10, 0.3);
  218. }
  219.  
  220. /*Light blue cover above the slide show*/
  221. .card::after {
  222.   content: '';
  223.   position: absolute;
  224.   left: 0;
  225.   top: 0;
  226.   z-index: 90;
  227.  
  228.   display: block;
  229.  
  230.  
  231.   background-color: rgba(140, 22, 115, 0.2);
  232. }
  233.  
  234. .card_part {
  235.   position: absolute;
  236.   top: 555;
  237.   left: 0;
  238.   z-index: 7;
  239.  
  240.   display: flex;
  241.  
  242.   width: 100%;
  243.   height:100%;
  244.   transform: translateX( 700px );
  245.  
  246.   animation: opaqTransition 28s cubic-bezier(0, 0, 0, 0.97) infinite;
  247. }
  248.  
  249.  
  250. .card_part.card_part-two {
  251.   z-index: 6;
  252.   animation-delay: 7s;
  253. }
  254.  
  255. .card_part.card_part-three {
  256.   z-index: 5;
  257.   animation-delay: 14s;
  258. }
  259.  
  260. .card_part.card_part-four {
  261.   z-index: 4;
  262.  
  263.   animation-delay: 21s;
  264. }
  265.  
  266.  
  267. @keyframes opaqTransition {
  268.   3% { transform: translateX( 0 ); }
  269.   25% { transform: translateX( 0 ); }
  270.   28% { transform: translateX( -700px ); }
  271.   100% { transform: translateX( -700px ); }
  272. }
  273.  
  274. </style>
  275.   </body>
  276.  
  277. </html>
Add Comment
Please, Sign In to add comment