Horje Website
CSS Responsive Web Design – Templates – Marketing Template – CSS Code

CSS Responsive Web Design – Templates – Marketing Template

CSS Responsive Web Design - Templates - Marketing Template - CSS Code


 
  1. <!DOCTYPE html>
  2. <html>
  3. <title>W3.CSS Template</title>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
  7. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
  8. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  9. <style>
  10. html,body,h1,h2,h3,h4 {font-family:"Lato", sans-serif}
  11. .mySlides {display:none}
  12. .w3-tag, .fa {cursor:pointer}
  13. .w3-tag {height:15px;width:15px;padding:0;margin-top:6px}
  14. </style>
  15. <body>
  16. <!-- Links (sit on top) -->
  17. <div class="w3-top">
  18. <div class="w3-row w3-large w3-light-grey">
  19. <div class="w3-col s3">
  20. <a href="#" class="w3-button w3-block">Home</a>
  21. </div>
  22. <div class="w3-col s3">
  23. <a href="#plans" class="w3-button w3-block">Plans</a>
  24. </div>
  25. <div class="w3-col s3">
  26. <a href="#about" class="w3-button w3-block">About</a>
  27. </div>
  28. <div class="w3-col s3">
  29. <a href="#contact" class="w3-button w3-block">Contact</a>
  30. </div>
  31. </div>
  32. </div>
  33. <!-- Content -->
  34. <div class="w3-content" style="max-width:1100px;margin-top:80px;margin-bottom:80px">
  35. <div class="w3-panel">
  36. <h1><b>MARKETING</b></h1>
  37. <p>Template by w3.css</p>
  38. </div>
  39. <!-- Slideshow -->
  40. <div class="w3-container">
  41. <div class="w3-display-container mySlides">
  42. <img src="https://www.w3schools.com//w3images/coffee.jpg" style="width:100%">
  43. <div class="w3-display-topleft w3-container w3-padding-32">
  44. <span class="w3-white w3-padding-large w3-animate-bottom">Lorem ipsum</span>
  45. </div>
  46. </div>
  47. <div class="w3-display-container mySlides">
  48. <img src="https://www.w3schools.com//w3images/workbench.jpg" style="width:100%">
  49. <div class="w3-display-middle w3-container w3-padding-32">
  50. <span class="w3-white w3-padding-large w3-animate-bottom">Klorim tipsum</span>
  51. </div>
  52. </div>
  53. <div class="w3-display-container mySlides">
  54. <img src="https://www.w3schools.com//w3images/sound.jpg" style="width:100%">
  55. <div class="w3-display-topright w3-container w3-padding-32">
  56. <span class="w3-white w3-padding-large w3-animate-bottom">Blorum pipsum</span>
  57. </div>
  58. </div>
  59. <!-- Slideshow next/previous buttons -->
  60. <div class="w3-container w3-dark-grey w3-padding w3-xlarge">
  61. <div class="w3-left" onclick="plusDivs(-1)"><i class="fa fa-arrow-circle-left w3-hover-text-teal"></i></div>
  62. <div class="w3-right" onclick="plusDivs(1)"><i class="fa fa-arrow-circle-right w3-hover-text-teal"></i></div>
  63. <div class="w3-center">
  64. <span class="w3-tag demodots w3-border w3-transparent w3-hover-white" onclick="currentDiv(1)"></span>
  65. <span class="w3-tag demodots w3-border w3-transparent w3-hover-white" onclick="currentDiv(2)"></span>
  66. <span class="w3-tag demodots w3-border w3-transparent w3-hover-white" onclick="currentDiv(3)"></span>
  67. </div>
  68. </div>
  69. </div>
  70. <!-- Grid -->
  71. <div class="w3-row w3-container">
  72. <div class="w3-center w3-padding-64">
  73. <span class="w3-xlarge w3-bottombar w3-border-dark-grey w3-padding-16">What We Offer</span>
  74. </div>
  75. <div class="w3-col l3 m6 w3-light-grey w3-container w3-padding-16">
  76. <h3>Design</h3>
  77. <p>Phasellus eget enim eu lectus faucibus vestibulum. Suspendisse sodales pellentesque elementum.</p>
  78. </div>
  79. <div class="w3-col l3 m6 w3-grey w3-container w3-padding-16">
  80. <h3>Branding</h3>
  81. <p>Phasellus eget enim eu lectus faucibus vestibulum. Suspendisse sodales pellentesque elementum.</p>
  82. </div>
  83. <div class="w3-col l3 m6 w3-dark-grey w3-container w3-padding-16">
  84. <h3>Consultation</h3>
  85. <p>Phasellus eget enim eu lectus faucibus vestibulum. Suspendisse sodales pellentesque elementum.</p>
  86. </div>
  87. <div class="w3-col l3 m6 w3-black w3-container w3-padding-16">
  88. <h3>Promises</h3>
  89. <p>Phasellus eget enim eu lectus faucibus vestibulum. Suspendisse sodales pellentesque elementum.</p>
  90. </div>
  91. </div>
  92. <!-- Grid -->
  93. <div class="w3-row-padding" id="plans">
  94. <div class="w3-center w3-padding-64">
  95. <h3>Pricing Plans</h3>
  96. <p>Choose a pricing plan that fits your needs.</p>
  97. </div>
  98. <div class="w3-third w3-margin-bottom">
  99. <ul class="w3-ul w3-border w3-center w3-hover-shadow">
  100. <li class="w3-black w3-xlarge w3-padding-32">Basic</li>
  101. <li class="w3-padding-16"><b>10GB</b> Storage</li>
  102. <li class="w3-padding-16"><b>10</b> Emails</li>
  103. <li class="w3-padding-16"><b>10</b> Domains</li>
  104. <li class="w3-padding-16"><b>Endless</b> Support</li>
  105. <li class="w3-padding-16">
  106. <h2 class="w3-wide">$ 10</h2>
  107. <span class="w3-opacity">per month</span>
  108. </li>
  109. <li class="w3-light-grey w3-padding-24">
  110. <button class="w3-button w3-green w3-padding-large">Sign Up</button>
  111. </li>
  112. </ul>
  113. </div>
  114. <div class="w3-third w3-margin-bottom">
  115. <ul class="w3-ul w3-border w3-center w3-hover-shadow">
  116. <li class="w3-dark-grey w3-xlarge w3-padding-32">Pro</li>
  117. <li class="w3-padding-16"><b>25GB</b> Storage</li>
  118. <li class="w3-padding-16"><b>25</b> Emails</li>
  119. <li class="w3-padding-16"><b>25</b> Domains</li>
  120. <li class="w3-padding-16"><b>Endless</b> Support</li>
  121. <li class="w3-padding-16">
  122. <h2 class="w3-wide">$ 25</h2>
  123. <span class="w3-opacity">per month</span>
  124. </li>
  125. <li class="w3-light-grey w3-padding-24">
  126. <button class="w3-button w3-green w3-padding-large">Sign Up</button>
  127. </li>
  128. </ul>
  129. </div>
  130. <div class="w3-third w3-margin-bottom">
  131. <ul class="w3-ul w3-border w3-center w3-hover-shadow">
  132. <li class="w3-black w3-xlarge w3-padding-32">Premium</li>
  133. <li class="w3-padding-16"><b>50GB</b> Storage</li>
  134. <li class="w3-padding-16"><b>50</b> Emails</li>
  135. <li class="w3-padding-16"><b>50</b> Domains</li>
  136. <li class="w3-padding-16"><b>Endless</b> Support</li>
  137. <li class="w3-padding-16">
  138. <h2 class="w3-wide">$ 50</h2>
  139. <span class="w3-opacity">per month</span>
  140. </li>
  141. <li class="w3-light-grey w3-padding-24">
  142. <button class="w3-button w3-green w3-padding-large">Sign Up</button>
  143. </li>
  144. </ul>
  145. </div>
  146. </div>
  147. <!-- Grid -->
  148. <div class="w3-row-padding" id="about">
  149. <div class="w3-center w3-padding-64">
  150. <span class="w3-xlarge w3-bottombar w3-border-dark-grey w3-padding-16">Who We Are</span>
  151. </div>
  152. <div class="w3-third w3-margin-bottom">
  153. <div class="w3-card-4">
  154. <img src="https://www.w3schools.com//w3images/team1.jpg" alt="John" style="width:100%">
  155. <div class="w3-container">
  156. <h3>Jane Doe</h3>
  157. <p class="w3-opacity">CEO & Founder</p>
  158. <p>Phasellus eget enim eu lectus faucibus vestibulum. Suspendisse sodales pellentesque elementum.</p>
  159. <p><button class="w3-button w3-light-grey w3-block">Contact</button></p>
  160. </div>
  161. </div>
  162. </div>
  163. <div class="w3-third w3-margin-bottom">
  164. <div class="w3-card-4">
  165. <img src="https://www.w3schools.com//w3images/team2.jpg" alt="Mike" style="width:100%">
  166. <div class="w3-container">
  167. <h3>Mike Ross</h3>
  168. <p class="w3-opacity">Art Director</p>
  169. <p>Phasellus eget enim eu lectus faucibus vestibulum. Suspendisse sodales pellentesque elementum.</p>
  170. <p><button class="w3-button w3-light-grey w3-block">Contact</button></p>
  171. </div>
  172. </div>
  173. </div>
  174. <div class="w3-third w3-margin-bottom">
  175. <div class="w3-card-4">
  176. <img src="https://www.w3schools.com//w3images/team3.jpg" alt="Jane" style="width:100%">
  177. <div class="w3-container">
  178. <h3>John Doe</h3>
  179. <p class="w3-opacity">Designer</p>
  180. <p>Phasellus eget enim eu lectus faucibus vestibulum. Suspendisse sodales pellentesque elementum.</p>
  181. <p><button class="w3-button w3-light-grey w3-block">Contact</button></p>
  182. </div>
  183. </div>
  184. </div>
  185. </div>
  186. <!-- Contact -->
  187. <div class="w3-center w3-padding-64" id="contact">
  188. <span class="w3-xlarge w3-bottombar w3-border-dark-grey w3-padding-16">Contact Us</span>
  189. </div>
  190. <form class="w3-container" action="/action_page.php" target="_blank">
  191. <div class="w3-section">
  192. <label>Name</label>
  193. <input class="w3-input w3-border w3-hover-border-black" style="width:100%;" type="text" name="Name" required>
  194. </div>
  195. <div class="w3-section">
  196. <label>Email</label>
  197. <input class="w3-input w3-border w3-hover-border-black" style="width:100%;" type="text" name="Email" required>
  198. </div>
  199. <div class="w3-section">
  200. <label>Subject</label>
  201. <input class="w3-input w3-border w3-hover-border-black" style="width:100%;" name="Subject" required>
  202. </div>
  203. <div class="w3-section">
  204. <label>Message</label>
  205. <input class="w3-input w3-border w3-hover-border-black" style="width:100%;" name="Message" required>
  206. </div>
  207. <button type="submit" class="w3-button w3-block w3-black">Send</button>
  208. </form>
  209. </div>
  210. <!-- Footer -->
  211. <footer class="w3-container w3-padding-32 w3-light-grey w3-center">
  212. <h4>Footer</h4>
  213. <a href="#" class="w3-button w3-black w3-margin"><i class="fa fa-arrow-up w3-margin-right"></i>To the top</a>
  214. <div class="w3-xlarge w3-section">
  215. <i class="fa fa-facebook-official w3-hover-opacity"></i>
  216. <i class="fa fa-instagram w3-hover-opacity"></i>
  217. <i class="fa fa-snapchat w3-hover-opacity"></i>
  218. <i class="fa fa-pinterest-p w3-hover-opacity"></i>
  219. <i class="fa fa-twitter w3-hover-opacity"></i>
  220. <i class="fa fa-linkedin w3-hover-opacity"></i>
  221. </div>
  222. <p>Powered by <a href="https://www.w3schools.com/w3css/default.asp" title="W3.CSS" target="_blank" class="w3-hover-text-green">w3.css</a></p>
  223. </footer>
  224. <script>
  225. // Slideshow
  226. var slideIndex = 1;
  227. showDivs(slideIndex);
  228. function plusDivs(n) {
  229. showDivs(slideIndex += n);
  230. }
  231. function currentDiv(n) {
  232. showDivs(slideIndex = n);
  233. }
  234. function showDivs(n) {
  235. var i;
  236. var x = document.getElementsByClassName("mySlides");
  237. var dots = document.getElementsByClassName("demodots");
  238. if (n > x.length) {slideIndex = 1}
  239. if (n < 1) {slideIndex = x.length} ;
  240. for (i = 0; i < x.length; i++) {
  241. x[i].style.display = "none";
  242. }
  243. for (i = 0; i < dots.length; i++) {
  244. dots[i].className = dots[i].className.replace(" w3-white", "");
  245. }
  246. x[slideIndex-1].style.display = "block";
  247. dots[slideIndex-1].className += " w3-white";
  248. }
  249. </script>
  250. </body>
  251. </html>



Try Your Self ->



Published:
July 18, 2020
Author:
admin
Category:
CSS Responsive, CSS Source Code
Views:
19

This article was posted in CSS Responsive, CSS Source Code and tagged , , . Bookmark the permalink. Follow comments with the RSS feed for this post.Post a Comment or leave a trackback: Trackback URL.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

Horje © 2011 - 2023