mirror of
https://github.com/Polymer/polymer.git
synced 2026-08-19 01:14:44 -05:00
Update the README.md to Polymer 1.1
This commit is contained in:
@@ -120,13 +120,14 @@ Polymer({
|
||||
```html
|
||||
<!-- add style to your element -->
|
||||
<dom-module id="my-styled-namecard">
|
||||
<style>
|
||||
/* This would be crazy in non webcomponents. */
|
||||
span {
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
<template>
|
||||
<style>
|
||||
/* This would be crazy in non webcomponents. */
|
||||
span {
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div>
|
||||
Hi! My name is <span>{{myName}}</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user