Skip to content

Instantly share code, notes, and snippets.

View prisskreative's full-sized avatar

Priscilla prisskreative

View GitHub Profile
@prisskreative
prisskreative / git-new-branch
Last active September 25, 2017 17:04
Create new branch
// Create new branch
git checkout -b priscilla
// Go to master
git checkout master
// Go to priscilla
git checkout priscilla
// push to branch
@prisskreative
prisskreative / db
Last active October 4, 2017 17:32
mongo
// server
sudo mongod
// mongo consola
mongo
show dbs
/* I’ve included both a condensed version and a longer base
with each corner radius broken down into a different property.*/
#container {
-webkit-border-radius: 4px 3px 6px 10px;
-moz-border-radius: 4px 3px 6px 10px;
-o-border-radius: 4px 3px 6px 10px;
border-radius: 4px 3px 6px 10px;
}
.transparent {
filter: alpha(opacity=50); /* internet explorer */
-khtml-opacity: 0.5; /* khtml, old safari */
-moz-opacity: 0.5; /* mozilla, netscape */
opacity: 0.5; /* fx, safari, opera */
}
/*You should apply this class onto a container which holds
floating elements. This will ensure any content which comes
afterwards will not float but instead be pushed down and cleared. */
.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }
@prisskreative
prisskreative / CSS Browser Resets.css
Created August 12, 2013 19:45
CSS Browser Reset
/*Each web browser comes packaged with its own set of
standard rules for styling documents. By default if
you include no other CSS rules you’ll be given a set
of standard fonts, margins, and padding for your website.*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
@prisskreative
prisskreative / 1-Basic HTML5 Page Template.html
Last active January 22, 2021 00:36
Basic HTML5 Page Template
<!doctype html>
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Default Page Title</title>
<link rel="shortcut icon" href="favicon.ico">
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="styles.css">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<!--[if lt IE 9]>
@prisskreative
prisskreative / 1-basic.html
Last active December 20, 2015 21:09
Video
<!-- Basic Videos -->