限制變數在特定範圍中, 避免污染全域
.container {
$rhythm: 1em;
margin: 0 auto;
max-width: 42em;
padding: 0 $rhythm;
p {
text-indent: $rhythm;
}
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="[add your bin description]" /> | |
<title>JQM latest</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="http://code.jquery.com/mobile/git/jquery.mobile-git.css"> | |
<script src="http://code.jquery.com/jquery-1.10.2.js"></script> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="Another change page example" /> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<!DOCTYPE html> | |
<html> |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
限制變數在特定範圍中, 避免污染全域
.container {
$rhythm: 1em;
margin: 0 auto;
max-width: 42em;
padding: 0 $rhythm;
p {
text-indent: $rhythm;
}
import "./formik-demo.css";
import React from "react";
import { render } from "react-dom";
import { Formik, Field } from "formik";
import Yup from "yup";
import classNames from "classnames";
// Input feedback
import 'package:flutter/material.dart'; | |
const Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override |