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

CSS Responsive Web Design – Templates – Marketing Website Template

CSS Responsive Web Design - Templates - Marketing / Website 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://www.w3schools.com/lib/w3-theme-black.css">
  8. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  9. <body id="myPage">
  10. <!-- Sidebar on click -->
  11. <nav class="w3-sidebar w3-bar-block w3-white w3-card w3-animate-left w3-xxlarge" style="display:none;z-index:2" id="mySidebar">
  12. <a href="javascript:void(0)" onclick="w3_close()" class="w3-bar-item w3-button w3-display-topright w3-text-teal">Close
  13. <i class="fa fa-remove"></i>
  14. </a>
  15. <a href="#" class="w3-bar-item w3-button">Link 1</a>
  16. <a href="#" class="w3-bar-item w3-button">Link 2</a>
  17. <a href="#" class="w3-bar-item w3-button">Link 3</a>
  18. <a href="#" class="w3-bar-item w3-button">Link 4</a>
  19. <a href="#" class="w3-bar-item w3-button">Link 5</a>
  20. </nav>
  21. <!-- Navbar -->
  22. <div class="w3-top">
  23. <div class="w3-bar w3-theme-d2 w3-left-align">
  24. <a class="w3-bar-item w3-button w3-hide-medium w3-hide-large w3-right w3-hover-white w3-theme-d2" href="javascript:void(0);" onclick="openNav()"><i class="fa fa-bars"></i></a>
  25. <a href="#" class="w3-bar-item w3-button w3-teal"><i class="fa fa-home w3-margin-right"></i>Logo</a>
  26. <a href="#team" class="w3-bar-item w3-button w3-hide-small w3-hover-white">Team</a>
  27. <a href="#work" class="w3-bar-item w3-button w3-hide-small w3-hover-white">Work</a>
  28. <a href="#pricing" class="w3-bar-item w3-button w3-hide-small w3-hover-white">Price</a>
  29. <a href="#contact" class="w3-bar-item w3-button w3-hide-small w3-hover-white">Contact</a>
  30. <div class="w3-dropdown-hover w3-hide-small">
  31. <button class="w3-button" title="Notifications">Dropdown <i class="fa fa-caret-down"></i></button>
  32. <div class="w3-dropdown-content w3-card-4 w3-bar-block">
  33. <a href="#" class="w3-bar-item w3-button">Link</a>
  34. <a href="#" class="w3-bar-item w3-button">Link</a>
  35. <a href="#" class="w3-bar-item w3-button">Link</a>
  36. </div>
  37. </div>
  38. <a href="#" class="w3-bar-item w3-button w3-hide-small w3-right w3-hover-teal" title="Search"><i class="fa fa-search"></i></a>
  39. </div>
  40. <!-- Navbar on small screens -->
  41. <div id="navDemo" class="w3-bar-block w3-theme-d2 w3-hide w3-hide-large w3-hide-medium">
  42. <a href="#team" class="w3-bar-item w3-button">Team</a>
  43. <a href="#work" class="w3-bar-item w3-button">Work</a>
  44. <a href="#pricing" class="w3-bar-item w3-button">Price</a>
  45. <a href="#contact" class="w3-bar-item w3-button">Contact</a>
  46. <a href="#" class="w3-bar-item w3-button">Search</a>
  47. </div>
  48. </div>
  49. <!-- Image Header -->
  50. <div class="w3-display-container w3-animate-opacity">
  51. <img src="https://www.w3schools.com//w3images/sailboat.jpg" alt="boat" style="width:100%;min-height:350px;max-height:600px;">
  52. <div class="w3-container w3-display-bottomleft w3-margin-bottom">
  53. <button onclick="document.getElementById('id01').style.display='block'" class="w3-button w3-xlarge w3-theme w3-hover-teal" title="Go To W3.CSS">LEARN W3.CSS</button>
  54. </div>
  55. </div>
  56. <!-- Modal -->
  57. <div id="id01" class="w3-modal">
  58. <div class="w3-modal-content w3-card-4 w3-animate-top">
  59. <header class="w3-container w3-teal w3-display-container">
  60. <span onclick="document.getElementById('id01').style.display='none'" class="w3-button w3-teal w3-display-topright"><i class="fa fa-remove"></i></span>
  61. <h4>Oh snap! We just showed you a modal..</h4>
  62. <h5>Because we can <i class="fa fa-smile-o"></i></h5>
  63. </header>
  64. <div class="w3-container">
  65. <p>Cool huh? Ok, enough teasing around..</p>
  66. <p>Go to our <a class="w3-text-teal" href="/w3css/default.asp">W3.CSS Tutorial</a> to learn more!</p>
  67. </div>
  68. <footer class="w3-container w3-teal">
  69. <p>Modal footer</p>
  70. </footer>
  71. </div>
  72. </div>
  73. <!-- Team Container -->
  74. <div class="w3-container w3-padding-64 w3-center" id="team">
  75. <h2>OUR TEAM</h2>
  76. <p>Meet the team - our office rats:</p>
  77. <div class="w3-row"><br>
  78. <div class="w3-quarter">
  79. <img src="https://www.w3schools.com//w3images/avatar.jpg" alt="Boss" style="width:45%" class="w3-circle w3-hover-opacity">
  80. <h3>Johnny Walker</h3>
  81. <p>Web Designer</p>
  82. </div>
  83. <div class="w3-quarter">
  84. <img src="https://www.w3schools.com//w3images/avatar.jpg" alt="Boss" style="width:45%" class="w3-circle w3-hover-opacity">
  85. <h3>Rebecca Flex</h3>
  86. <p>Support</p>
  87. </div>
  88. <div class="w3-quarter">
  89. <img src="https://www.w3schools.com//w3images/avatar.jpg" alt="Boss" style="width:45%" class="w3-circle w3-hover-opacity">
  90. <h3>Jan Ringo</h3>
  91. <p>Boss man</p>
  92. </div>
  93. <div class="w3-quarter">
  94. <img src="https://www.w3schools.com//w3images/avatar.jpg" alt="Boss" style="width:45%" class="w3-circle w3-hover-opacity">
  95. <h3>Kai Ringo</h3>
  96. <p>Fixer</p>
  97. </div>
  98. </div>
  99. </div>
  100. <!-- Work Row -->
  101. <div class="w3-row-padding w3-padding-64 w3-theme-l1" id="work">
  102. <div class="w3-quarter">
  103. <h2>Our Work</h2>
  104. <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
  105. </div>
  106. <div class="w3-quarter">
  107. <div class="w3-card w3-white">
  108. <img src="https://www.w3schools.com//w3images/snow.jpg" alt="Snow" style="width:100%">
  109. <div class="w3-container">
  110. <h3>Customer 1</h3>
  111. <h4>Trade</h4>
  112. <p>Blablabla</p>
  113. <p>Blablabla</p>
  114. <p>Blablabla</p>
  115. <p>Blablabla</p>
  116. </div>
  117. </div>
  118. </div>
  119. <div class="w3-quarter">
  120. <div class="w3-card w3-white">
  121. <img src="https://www.w3schools.com//w3images/lights.jpg" alt="Lights" style="width:100%">
  122. <div class="w3-container">
  123. <h3>Customer 2</h3>
  124. <h4>Trade</h4>
  125. <p>Blablabla</p>
  126. <p>Blablabla</p>
  127. <p>Blablabla</p>
  128. <p>Blablabla</p>
  129. </div>
  130. </div>
  131. </div>
  132. <div class="w3-quarter">
  133. <div class="w3-card w3-white">
  134. <img src="https://www.w3schools.com//w3images/mountains.jpg" alt="Mountains" style="width:100%">
  135. <div class="w3-container">
  136. <h3>Customer 3</h3>
  137. <h4>Trade</h4>
  138. <p>Blablabla</p>
  139. <p>Blablabla</p>
  140. <p>Blablabla</p>
  141. <p>Blablabla</p>
  142. </div>
  143. </div>
  144. </div>
  145. </div>
  146. <!-- Container -->
  147. <div class="w3-container" style="position:relative">
  148. <a onclick="w3_open()" class="w3-button w3-xlarge w3-circle w3-teal"
  149. style="position:absolute;top:-28px;right:24px">+</a>
  150. </div>
  151. <!-- Pricing Row -->
  152. <div class="w3-row-padding w3-center w3-padding-64" id="pricing">
  153. <h2>PRICING</h2>
  154. <p>Choose a pricing plan that fits your needs.</p><br>
  155. <div class="w3-third w3-margin-bottom">
  156. <ul class="w3-ul w3-border w3-hover-shadow">
  157. <li class="w3-theme">
  158. <p class="w3-xlarge">Basic</p>
  159. </li>
  160. <li class="w3-padding-16"><b>10GB</b> Storage</li>
  161. <li class="w3-padding-16"><b>10</b> Emails</li>
  162. <li class="w3-padding-16"><b>10</b> Domains</li>
  163. <li class="w3-padding-16"><b>Endless</b> Support</li>
  164. <li class="w3-padding-16">
  165. <h2 class="w3-wide"><i class="fa fa-usd"></i> 10</h2>
  166. <span class="w3-opacity">per month</span>
  167. </li>
  168. <li class="w3-theme-l5 w3-padding-24">
  169. <button class="w3-button w3-teal w3-padding-large"><i class="fa fa-check"></i> Sign Up</button>
  170. </li>
  171. </ul>
  172. </div>
  173. <div class="w3-third w3-margin-bottom">
  174. <ul class="w3-ul w3-border w3-hover-shadow">
  175. <li class="w3-theme-l2">
  176. <p class="w3-xlarge">Pro</p>
  177. </li>
  178. <li class="w3-padding-16"><b>25GB</b> Storage</li>
  179. <li class="w3-padding-16"><b>25</b> Emails</li>
  180. <li class="w3-padding-16"><b>25</b> Domains</li>
  181. <li class="w3-padding-16"><b>Endless</b> Support</li>
  182. <li class="w3-padding-16">
  183. <h2 class="w3-wide"><i class="fa fa-usd"></i> 25</h2>
  184. <span class="w3-opacity">per month</span>
  185. </li>
  186. <li class="w3-theme-l5 w3-padding-24">
  187. <button class="w3-button w3-teal w3-padding-large"><i class="fa fa-check"></i> Sign Up</button>
  188. </li>
  189. </ul>
  190. </div>
  191. <div class="w3-third w3-margin-bottom">
  192. <ul class="w3-ul w3-border w3-hover-shadow">
  193. <li class="w3-theme">
  194. <p class="w3-xlarge">Premium</p>
  195. </li>
  196. <li class="w3-padding-16"><b>50GB</b> Storage</li>
  197. <li class="w3-padding-16"><b>50</b> Emails</li>
  198. <li class="w3-padding-16"><b>50</b> Domains</li>
  199. <li class="w3-padding-16"><b>Endless</b> Support</li>
  200. <li class="w3-padding-16">
  201. <h2 class="w3-wide"><i class="fa fa-usd"></i> 50</h2>
  202. <span class="w3-opacity">per month</span>
  203. </li>
  204. <li class="w3-theme-l5 w3-padding-24">
  205. <button class="w3-button w3-teal w3-padding-large"><i class="fa fa-check"></i> Sign Up</button>
  206. </li>
  207. </ul>
  208. </div>
  209. </div>
  210. <!-- Contact Container -->
  211. <div class="w3-container w3-padding-64 w3-theme-l5" id="contact">
  212. <div class="w3-row">
  213. <div class="w3-col m5">
  214. <div class="w3-padding-16"><span class="w3-xlarge w3-border-teal w3-bottombar">Contact Us</span></div>
  215. <h3>Address</h3>
  216. <p>Swing by for a cup of coffee, or whatever.</p>
  217. <p><i class="fa fa-map-marker w3-text-teal w3-xlarge"></i>  Chicago, US</p>
  218. <p><i class="fa fa-phone w3-text-teal w3-xlarge"></i>  +00 1515151515</p>
  219. <p><i class="fa fa-envelope-o w3-text-teal w3-xlarge"></i>  [email protected]</p>
  220. </div>
  221. <div class="w3-col m7">
  222. <form class="w3-container w3-card-4 w3-padding-16 w3-white" action="/action_page.php" target="_blank">
  223. <div class="w3-section">
  224. <label>Name</label>
  225. <input class="w3-input" type="text" name="Name" required>
  226. </div>
  227. <div class="w3-section">
  228. <label>Email</label>
  229. <input class="w3-input" type="text" name="Email" required>
  230. </div>
  231. <div class="w3-section">
  232. <label>Message</label>
  233. <input class="w3-input" type="text" name="Message" required>
  234. </div>
  235. <input class="w3-check" type="checkbox" checked name="Like">
  236. <label>I Like it!</label>
  237. <button type="submit" class="w3-button w3-right w3-theme">Send</button>
  238. </form>
  239. </div>
  240. </div>
  241. </div>
  242. <!-- Image of location/map -->
  243. <img src="https://www.w3schools.com//w3images/map.jpg" class="w3-image w3-greyscale-min" style="width:100%;">
  244. <!-- Footer -->
  245. <footer class="w3-container w3-padding-32 w3-theme-d1 w3-center">
  246. <h4>Follow Us</h4>
  247. <a class="w3-button w3-large w3-teal" href="javascript:void(0)" title="Facebook"><i class="fa fa-facebook"></i></a>
  248. <a class="w3-button w3-large w3-teal" href="javascript:void(0)" title="Twitter"><i class="fa fa-twitter"></i></a>
  249. <a class="w3-button w3-large w3-teal" href="javascript:void(0)" title="Google +"><i class="fa fa-google-plus"></i></a>
  250. <a class="w3-button w3-large w3-teal" href="javascript:void(0)" title="Google +"><i class="fa fa-instagram"></i></a>
  251. <a class="w3-button w3-large w3-teal w3-hide-small" href="javascript:void(0)" title="Linkedin"><i class="fa fa-linkedin"></i></a>
  252. <p>Powered by <a href="https://www.w3schools.com/w3css/default.asp" target="_blank">w3.css</a></p>
  253. <div style="position:relative;bottom:100px;z-index:1;" class="w3-tooltip w3-right">
  254. <span class="w3-text w3-padding w3-teal w3-hide-small">Go To Top</span>
  255. <a class="w3-button w3-theme" href="#myPage"><span class="w3-xlarge">
  256. <i class="fa fa-chevron-circle-up"></i></span></a>
  257. </div>
  258. </footer>
  259. <script>
  260. // Script for side navigation
  261. function w3_open() {
  262. var x = document.getElementById("mySidebar");
  263. x.style.width = "300px";
  264. x.style.paddingTop = "10%";
  265. x.style.display = "block";
  266. }
  267. // Close side navigation
  268. function w3_close() {
  269. document.getElementById("mySidebar").style.display = "none";
  270. }
  271. // Used to toggle the menu on smaller screens when clicking on the menu button
  272. function openNav() {
  273. var x = document.getElementById("navDemo");
  274. if (x.className.indexOf("w3-show") == -1) {
  275. x.className += " w3-show";
  276. } else {
  277. x.className = x.className.replace(" w3-show", "");
  278. }
  279. }
  280. </script>
  281. </body>
  282. </html>



Try Your Self ->



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

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