Skip to content

Instantly share code, notes, and snippets.

View yeyuguo's full-sized avatar
🎯
Focusing

Struggling Youth yeyuguo

🎯
Focusing
  • ...
  • China-BeiJing(Now)
View GitHub Profile

Sass/Less Comparison

In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.

For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.

Variables

Sass/Less Comparison

In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.

For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.

Variables

<html>
<head>
<title>Core Interaction</title>
<link rel="stylesheet" href="assets/css/global.css">
</head>
<body>
<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<style type="text/css">
#halfCircleBlack{
height:30px;
width:60px;
border-radius: 60px 60px 0 0;
-moz-border-radius: 60px 60px 0 0;
-webkit-border-radius: 60px 60px 0 0;
@yeyuguo
yeyuguo / 2.jpg
Last active August 29, 2015 14:08
It's my gist practice,just test its function!!
2.jpg
@yeyuguo
yeyuguo / HtmlTemple
Created October 28, 2014 07:31
HTML5 Temple
<!DOCTYPE HTML>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta name="description" content="HTML5 Webpage">
<title>HTML5 Webpage</title>
</head>
<body>
</body>
@yeyuguo
yeyuguo / Gradient-CSS3
Created October 28, 2014 07:35
css3 element Gradient
the webpage site is :
http://css-tricks.com/examples/CSS3Gradient/
/**
* CSS3 Logo
*/
html{
background:white;
font:3em sans-serif;
}
h1{
<!DOCTYPE html>
<html>
<body style= "background-color:#ccc;")>
<button onclick="myFunction()"> Plenty of Fish in the Sea</button> <br>
<button onclick="myFunction()"> Click FISH to FISH</button>
<div align= "center">
,'._,`. PYTHON SUCKS
(-.___.-) EVEN SANDNIGGERS CAN MASTER IT
(-.___.-) DESPITE THE FACT THAT THIS IS OBVIOUSLY A COBRA
`-.___.-'
(( @ @| . __
\ ` | ,\ |`. @| | | _.-._
__`.`=-=mm===mm:: | | |`. | | | ,'=` '=`.
( `-'|:/ /:/ `/ @| | | |, @| @| /---)W(---\
\ \ / / / / @| | ' (----| |----) ,~
|\ \ / /| / / @| \---| |---/ |