Skip to content

Instantly share code, notes, and snippets.

View momin-riyadh's full-sized avatar
🎯
Focusing

Momin Riyadh momin-riyadh

🎯
Focusing
View GitHub Profile
<form id="contact" name="contact" method="post">
<fieldset>
<label for="name" id="name">Name<span class="required">*</span></label>
<input type="text" name="name" id="name" size="30" value="" required/>
<label for="email" id="email">Email<span class="required">*</span></label>
<input type="text" name="email" id="email" size="30" value="" required/>
<label for="phone" id="phone">Phone</label>
<input type="text" name="phone" id="phone" size="30" value="" />
.nav-tab {
...
// instead of putting it on
border-right: 1px solid #424242;
&:last-child {
border-right: 0; // and then taking it off
}
// use CSS not() to only apply to the elements you want
&:not(:last-child) {
border-right: 1px solid #424242;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
.date{
background: #8c8c8c;
padding: 5px;
margin-top: 10px;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
.date{
background: #8c8c8c;
padding: 5px;
margin-top: 10px;
@momin-riyadh
momin-riyadh / index.html
Last active October 25, 2015 14:48
Javascript [Date/Time(options)]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<link href="style.css" rel="stylesheet">
</head>
<body>
<p>Today Is :<br><span class="date"></span></p>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
@momin-riyadh
momin-riyadh / Newsletter
Last active March 21, 2016 03:29
Newsletter/Email Signup form.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Sign Up Form</title>
<style>
.mn-form {
width: 450px;
margin: 17% auto;
@momin-riyadh
momin-riyadh / wordpress svg.php
Last active March 23, 2016 07:13
Custom Wordpress SVG support // Add it on function php file
// SVG Support
function cc_mime_types($mimes) {
$mimes['svg'] = 'image/svg+xml';
return $mimes;
}
add_filter('upload_mimes', 'cc_mime_types');
@momin-riyadh
momin-riyadh / custom-d.css
Created April 6, 2016 05:14
Fonts Problem
@font-face {
font-family: 'GothamRounded-Bold';
src: url('mountnow.com/wp-content/themes/centric-pro/fonts/GothamRounded-Bold.eot?#iefix') format('embedded-opentype'), url('http://mountnow.com/wp-content/themes/centric-pro/fonts/GothamRounded-Bold.otf') format('opentype'),
url('http://mountnow.com/wp-content/themes/centric-pro/fonts/GothamRounded-Bold.woff') format('woff'), url('http://mountnow.com/wp-content/themes/centric-pro/fonts/GothamRounded-Bold.ttf') format('truetype'), url('http://mountnow.com/wp-content/themes/centric-pro/fonts/GothamRounded-Bold.svg#GothamRounded-Bold') format('svg');
font-weight: normal;
font-style:normal;
}
@momin-riyadh
momin-riyadh / README-Template.md
Created December 28, 2016 10:21 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@momin-riyadh
momin-riyadh / paypal_btn.html
Created January 24, 2017 08:26
Paypal Inline Style button
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<a style="background:#019CDE;color:#ffffff;padding:10px 25px;text-decoration:none;border-radius:4px" href="" >Pay with PayPal</a>
</body>
</html>