<link href="a.css" rel="stylesheet" type="text/css" />
<link href="b.css" rel="stylesheet" type="text/css" />
<?php include 'a.php';?>
<?php include 'b.php';?>
<script src="a.js"></script>
<script src="b.js"></script> <link href="index.css" rel="stylesheet" type="text/css" />
== Slim::Template.new('../../module/a.slim').render
== Slim::Template.new('../../module/b.slim').render
<script data-main="index" src="../../vender/require.js"></script> @import '../modules/a';
@import '../modules/b';require.config({
paths:{
jquery:"../../vender/jquery-1.7.1.min" ,
elevator:"../../modules/elevator/index"
}
});
require(['jquery', 'elevator'],function($, elevator){
});<link href="index.css" rel="stylesheet" type="text/css" />
<include src="../../modules/a/index.html"></include>
<include src="../../modules/b/index.html"></include>
<script data-main="index" src="../../vender/require.js"></script> @import '../../modules/a/index.css';
@import '../../modules/b/index.css';gulp.task("svg", function () {
for(var i in modules){
if(modules[i] !== '.DS_Store'){
gulp.src("src/modules/"+modules[i]+"/svgs/*.svg")
.pipe(svgSprite({
mode: "symbols",
common: "svg",
selector: "icon-%f"
}))
.pipe(gulp.dest("src/modules/"+modules[i]+"/symbols"))
}
}
});<hangout-module>
<hangout-chat from="Paul, Addy">
<hangout-discussion>
<hangout-message from="Paul" profile="profile.png"
profile="118075919496626375791" datetime="2013-07-17T12:02">
<p>Feelin' this Web Components thing.</p>
<p>Heard of it?</p>
</hangout-message>
</hangout-discussion>
</hangout-chat>
<hangout-chat>...</hangout-chat>
</hangout-module><div id="nameTag">Bob</div>
<template id="nameTagTemplate">
<style>
.outer {
border: 2px solid brown;
</style>
<div class="outer">
<div class="boilerplate">
Hi! My name is
</div>
<div class="name">
Bob
</div>
</div>
</template><script>
var shadow = document.querySelector('#nameTag').createShadowRoot();
var template = document.querySelector('#nameTagTemplate');
var clone = document.importNode(template.content, true);
shadow.appendChild(clone);
</script><link rel="import" href="/path/to/imports/stuff.html">import styles from './ScopedSelectors.css';
import React, { Component } from 'react';
export default class ScopedSelectors extends Component {
render() {
return (
<div className={ styles.root }>
<p className={ styles.text }>Scoped Selectors</p>
</div>
);
}
};.root {
border-width: 2px;
border-style: solid;
border-color: #777;
padding: 0 20px;
margin: 0 6px;
max-width: 400px;
}
.text {
color: #777;
font-size: 24px;
font-family: helvetica, arial, sans-serif;
font-weight: 600;
}.ScopedSelectors__root___16yOh {
border-width: 2px;
border-style: solid;
border-color: #777;
padding: 0 20px;
margin: 0 6px;
max-width: 400px;
}
.ScopedSelectors__text___1hOhe {
color: #777;
font-size: 24px;
font-family: helvetica, arial, sans-serif;
font-weight: 600;
}<div class="ScopedSelectors__root___16yOh">
<p class="ScopedSelectors__text___1hOhe">Scoped Selectors</p>
</div><style scoped>
.example {
color: red;
}
</style>
<template>
<div class="example">hi</div>
</template><style>
.example[_v-f3f3eg9] {
color: red;
}
</style>
<template>
<div class="example" _v-f3f3eg9>hi</div>
</template><link rel="import" href="../../bower_components/polymer/polymer.html">
<dom-module id="my-greeting">
<template>
<style include="shared-styles"></style>
<style>
:host {
display: block;
color: red;
}
input{
color: red;
}
</style>
<h2 class="page-title">{{greeting}}</h2>
<span class="paper-font-body2">Update text to change the greeting.</span>
<!-- Listens for "input" event and sets greeting to <input>.value -->
<input class="paper-font-body2" value="{{greeting::input}}">
</template>
<script>
(function() {
'use strict';
Polymer({
is: 'my-greeting',
properties: {
greeting: {
type: String,
value: 'Welcome!',
notify: true
}
}
});
})();
</script>
</dom-module><my-greeting class="x-scope my-greeting-0">
<h1 class="page-title style-scope my-greeting">Welcome!</h1>
<label for="greeting-input" class="style-scope my-greeting">Update text to change the greeting.</label>
<input id="greeting-input" class="style-scope my-greeting">
</my-greeting>.page-title:not([style-scope]):not(.style-scope) {
font-family: 'Roboto', 'Noto', sans-serif;
-webkit-font-smoothing: antialiased;
font-size: 45px;
font-weight: 400;
letter-spacing: -.018em;
line-height: 48px;
}
paper-menu a > *:not([style-scope]):not(.style-scope),paper-menu paper-item > *:not([style-scope]):not(.style-scope),paper-menu paper-icon-item > *:not([style-scope]):not(.style-scope) {
pointer-events: none;
}
@media (max-width: 600px) {
.page-title:not([style-scope]):not(.style-scope) {
font-size: 24px!important;
}
}