close
Wayback Machine
14 captures
18 Aug 2019 - 10 Dec 2023
Jul AUG Sep
18
2018 2019 2020
success
fail
About this capture
COLLECTED BY
Collection: Common Crawl
Web crawl data from Common Crawl.
TIMESTAMPS
loading
The Wayback Machine - https://web.archive.org/web/20190818193319/https://developers.googleblog.com/2011/11/introducing-closure-stylesheets.html
BERJAYA
Blog of our latest news, updates, and stories for developers

Introducing Closure Stylesheets

Thursday, November 17, 2011
Share on Twitter Share on Facebook
Google
Labels: closure tools , css

12 comments :

  1. BERJAYA
    Jesse KuhnertNovember 17, 2011 at 11:16 PM

    You had me at DRY Michael.

    Just don't tell me I have to use get or I'll find out where you live and poop on your lawn.

    ReplyDelete
    Replies
      Reply
  2. BERJAYA
    Jesse KuhnertNovember 17, 2011 at 11:18 PM

    >get< gwt

    ReplyDelete
    Replies
      Reply
  3. BERJAYA
    Nicholas JuntillaNovember 17, 2011 at 11:58 PM

    If you want multiple styles to have the same color then you add those styles to the color proper with a comma like this:

    .box-background, .other-box-background, .another-box-background { color:blue;}

    You can add as many class as you want to that property and even target specific elements down the node list from a top node with that class.

    Als in order to simulate an if / then statement you write the least specific class first and then get more specific further down in your style sheet so
    .boxes {border-color:red;}
    might have a red border, but
    .boxes .insidebox {border-color:purple;}
    might have a purple border.

    You might also target every element then target only the first element by being more specific.

    You could possibly make style sheets a little bit shorter using this mark up, but if you are going to have to learn function and variables in order to write CSS then you might as well manipulate it manually using JavaScript.

    The main reason I think this might be a bad idea is that the syntax for CSS with the addition of the @ symbol, media queries and CSS animation is already so convoluted that this sort of functionality gain (despite bering redundant to JavaScript) might be minimal when weighed against the increased complexity of the system and the new JavaScript CSS Function writing Functions I will inevitably end up writing.

    But hey maybe this functionality should have been there from the beginning... and so the overlap between CSS and JavaScript continues. Where will it end?

    ReplyDelete
    Replies
      Reply
  4. BERJAYA
    Yedidya @ DigitechNovember 18, 2011 at 12:54 AM

    @Nicholas Juntilla

    Indeed one can use multiple selectors but the concern then is that the resultant CSS is very fragmented because you would end up writing many sections each referring to another aspect of the same selector. And if not for tools like Google Chrome's Developer Tools it would be impossible to find the the line of styling if things displayed incorrectly.

    ReplyDelete
    Replies
      Reply
  5. BERJAYA
    DylanNovember 18, 2011 at 6:47 AM

    How does this compare/contrast with less.js or sass?

    ReplyDelete
    Replies
      Reply
  6. BERJAYA
    Matthew TurneyNovember 18, 2011 at 7:41 AM

    This comment has been removed by the author.

    ReplyDelete
    Replies
      Reply
  7. BERJAYA
    ArbiterNovember 18, 2011 at 7:49 AM

    More to the point, why does this exist at all given that there are already two solutions to this problem?

    ReplyDelete
    Replies
      Reply
  8. BERJAYA
    heavymarkNovember 18, 2011 at 3:04 PM

    Most people already love Less and SASS. What does this bring to the table that those do not have?

    ReplyDelete
    Replies
      Reply
  9. BERJAYA
    Robert DeRoseNovember 18, 2011 at 6:58 PM

    Agreed, how does this differ from less or sass?

    ReplyDelete
    Replies
      Reply
  10. BERJAYA
    Marino LinajeNovember 21, 2011 at 3:08 AM

    I have used Less and SASS, so I have the same question: diferences?
    Thanks ;-)

    ReplyDelete
    Replies
      Reply
  11. BERJAYA
    Brandon SummersNovember 27, 2011 at 2:23 AM

    @Robert DeRose

    It looks like the main differences are lint, class renaming, rtl flipping, and out-of-the-box minification.

    Also it's nice that is java so it will run server side like sass. That's the one thing that keeps me from using less.

    ReplyDelete
    Replies
      Reply
  12. BERJAYA
    Rodrigo MoraesJanuary 14, 2012 at 1:41 AM

    Arbiter: this was developed inside Google before SASS or Less existed. They are just open-sourcing it now.

    ReplyDelete
    Replies
      Reply
Add comment
Load more...

  
BERJAYA
BERJAYA

Labels


  • .app
  • .dev
  • #AIY
  • #devfest18 #devfeststories #gdg #googledevelopers #developers #community
  • #freeandopen
  • #GooglePlay #AndroidDevStory #PlayStore #DeveloperConsole #StoreListingExperiments
  • #growwithgoogle
  • #io12
  • #io13
  • #io14
  • #io15
  • #io16
  • #io17
  • #io18
  • #io2012
  • #io2013
  • #io2014
  • +1
  • 20% project
  • 3d
  • 3D face mesh
  • about.com
  • accelerator
  • accessibility
  • actions
  • actions on google
  • actionsongoogle
  • activity
  • Administrative APIs
  • AdMob
  • adobe
  • Ads
  • adsense
  • advanced
  • advogato
  • AdWords
  • africa
  • agency program
  • agpl
  • AI
  • AI Principles
  • AIY
  • AIY Projects
  • AIYProjects
  • ajax
  • ajax apis
  • ajax search
  • ajax search books news apis
  • all for good
  • amarok
  • AMP
  • AMP Cache
  • analytics
  • and Assistant
  • android
  • android developer certification
  • android developers
  • Android Development
  • Android Studio
  • Android Things
  • android wear
  • animation
  • Announcement
  • announcements
  • apache
  • api
  • API.AI
  • apis
  • apis console
  • apis explorer
  • apis. charts
  • app
  • app design
  • App dev
  • App Development
  • app engine
  • app indexing
  • app indexing api
  • App Invites
  • apple
  • Application Development
  • apps
  • apps script
  • AR
  • ARCore
  • area 120
  • artifact management
  • Artificial Intelligence
  • asia
  • assistant
  • atom publishing protocol
  • Audio
  • Augmented images
  • augmented reality
  • australia
  • Auth
  • authentication
  • authsub
  • automatic speech recognition
  • AutoML
  • awards
  • axsjax
  • barcodes
  • beacon
  • beacons
  • Belarus
  • bespin
  • best practices
  • beta
  • bigquery
  • bitcoin
  • Blockly
  • blogger
  • Bluetooth
  • book search
  • books API
  • bootcamp
  • braintree
  • Brazil
  • british english
  • Brotli
  • browser
  • Build Out
  • building ajax apps
  • BuildOut
  • Bulgaria
  • business
  • buzz
  • c++
  • Cache
  • caja
  • caldav
  • calendar
  • camino
  • campfire one
  • caption
  • cardboard
  • CardDAV
  • cast
  • Certification
  • certification award
  • channel
  • chinese
  • chrome
  • chrome apps
  • chrome dev summit
  • chrome devtools
  • chrome experiment
  • chrome extensions
  • chrome os
  • Chrome OS IO
  • Chrome OS IO19
  • chrome web store
  • chromecast
  • chromium
  • chronoscope
  • cifs
  • classes
  • classroom api
  • client libraries
  • closure tools
  • cloud
  • Cloud anchor
  • cloud datastore
  • cloud functions for firebase
  • Cloud Next
  • cloud platform
  • cloud portability
  • cloud services
  • cloud sql
  • cloud storage
  • Cloud Study Jam
  • cms
  • coca cola
  • CocoaPods
  • code for educators
  • code jam
  • code review
  • code-in
  • codeedu
  • codelabs
  • coffee with a googler
  • Colaboratory
  • collada
  • color
  • Colt McAnlis
  • commerce
  • community
  • community connectors
  • competition
  • Compilers
  • compression
  • compressorhead
  • computer vision
  • computing heritage
  • conferences
  • contacts api
  • Containers
  • contest
  • contextual gadgets
  • conversation design
  • conversations
  • Coral
  • Core ML
  • couchdb
  • countdown to I/O 2012
  • courses
  • CPU
  • crash course
  • Crash Reporting
  • crashlytics
  • creative commons
  • cricket
  • crisis response
  • Croatia
  • cryptocurrency
  • cryptography
  • css
  • css3
  • custom search
  • custom search api
  • Czechia
  • danish linux forum
  • dart
  • Data Compression
  • Data Visualization
  • database
  • Databases
  • Dataset
  • Datasets
  • datastore
  • dataviz
  • Daydream
  • deprecation
  • design
  • devart
  • develop
  • developer
  • Developer Communities
  • Developer Culture
  • developer expert
  • developer features
  • Developer Keynote
  • developer relations
  • developers
  • developers. meetup
  • Development
  • devfest
  • devfest developer chrome maps social wave apps
  • DevFest18
  • DevFestStories
  • DFP
  • dialogflow
  • discovery service
  • diversity
  • django
  • dns
  • do-it-yourself
  • Docker
  • docs
  • documentation
  • documents list api
  • dojo
  • domains
  • doodles
  • dot net
  • doubleclick
  • dreamweaver
  • Drive
  • drupal
  • dynamic links
  • earn
  • earth
  • Ebay
  • eclipse
  • eclipsecon
  • eddystone
  • Edge TPU
  • Edge TPU Accelerator
  • Edge TPU Dev Board
  • educatio
  • education
  • email
  • EMEA
  • endpoints
  • enterprise
  • entrepreneurs
  • Estimator
  • Estimators
  • estonia
  • Ethics
  • Europe
  • event
  • events
  • evolution
  • execution api
  • extensions
  • Fabric
  • Fairness
  • fairness in machine learning
  • faster web
  • FCM
  • FCP
  • featured
  • feeds
  • finance
  • fintech
  • Firebase
  • Firebase Analytics
  • Firebase Cloud Messaging
  • Firebase Dynamic Links
  • firebug
  • firefox
  • firestore
  • firevox
  • firstbeta
  • fitness
  • flutter
  • Flutter 1.2
  • Flutter 1.5
  • Flutter at IO
  • Flutter Create
  • Flutter for desktop
  • Flutter for web
  • Flutter Live
  • flutter release preview 1
  • flutter release preview 2
  • Follow Us
  • font api
  • Fonts
  • fosdem
  • freebsd
  • freenet
  • Fridaygram
  • fusion tables
  • G Suite
  • G+
  • gadgets
  • Game Developers Conference
  • games
  • gaming
  • gcc
  • gci
  • GCP
  • GDA
  • gdata
  • GDC17
  • GDD
  • gdd07
  • gdd08
  • gdd09
  • GDD11
  • GDE
  • gdg
  • gdl
  • gdl weekly
  • gears
  • geo
  • geolocation
  • geoserver
  • getpaid
  • ghop
  • git
  • github
  • GKE
  • gmail
  • Gmail APIs
  • GMTC
  • gnome
  • gnome women's summer outreach program
  • Go
  • goo.gl
  • Google
  • Google AI
  • Google APIs
  • google apps
  • google apps api
  • google apps for your domain
  • google apps marketplace
  • Google AR
  • google assistant
  • Google Assistant Bluetooth
  • Google Assistant IO
  • Google Assistant IO19
  • google assistant sdk
  • Google Brain
  • google buzz
  • google cast
  • google certification
  • google chart api
  • google checkout
  • google chrome
  • Google Cloud
  • Google Cloud Messaging
  • Google Cloud Platform
  • google cloud storage
  • google code
  • google code project hosting
  • google code search
  • google code university
  • google compute engine
  • Google Coral
  • google data apis
  • google data protocol
  • Google Data Studio
  • google developer day
  • google developer days
  • Google Developer Groups
  • Google Developer Scholarship
  • google developers
  • Google Developers Academy
  • google developers certification
  • google developers community groups
  • Google Developers Groups
  • Google Developers Live
  • Google Developers site
  • Google Developers University Consortium
  • google docs
  • Google Docs API
  • google doctype
  • google domains
  • Google Drive
  • Google Drive SDK
  • google earth
  • google fit
  • Google Fonts
  • google friend connect
  • google gadgets
  • google gears
  • google grants
  • Google Groups Settings
  • google health
  • Google Home Hub
  • Google I/O
  • Google Identity Platform
  • Google in Asia
  • google io
  • Google IOS Android
  • Google Maps
  • Google Maps Platform
  • google mashup editor
  • Google Noto fonts
  • google pay
  • google pay api
  • google photos
  • google platform
  • Google Play
  • Google Play Developer API
  • google play services
  • Google Registry
  • google scholarships
  • Google Science Fair
  • Google sheets
  • Google Sheets API
  • Google Slides
  • Google Slides API
  • google space
  • Google Spreadsheets API
  • google storage
  • google summer of code
  • Google tech talk
  • Google technology
  • google technoloy user groups
  • google tv
  • google visualization api
  • google wallet
  • Google Wave
  • google web elements
  • google web toolkit
  • google.org
  • google+
  • GoogleAssistant
  • googlecast
  • googledevelopers
  • googleio
  • googlenew
  • GooglePlay
  • googlewebelements googleio
  • GPE
  • GPGS C++ Games
  • GPT
  • green linux
  • Groups API
  • grow
  • grow with google
  • gsoc
  • GSuite
  • gtags
  • gtug
  • guest post
  • guice
  • gulp
  • GWSOP
  • gwt
  • gzip
  • hackathon
  • hacking
  • hackthon
  • hamilton
  • hangouts
  • Hangouts Chat
  • Hangouts Chat API
  • haproxy
  • Headset
  • hg
  • hibernate
  • howto
  • hpux
  • html
  • html5
  • http
  • I/O
  • I/O 17
  • I/O 2017
  • I/O Extended
  • I/O Live
  • ical
  • identity
  • ietf
  • ignite
  • igoogle
  • iguanas
  • iiw
  • Image Compression
  • image search
  • Imara
  • In-app billing
  • in-app payments
  • in-app purchase
  • incubator
  • India
  • indie
  • Indie Games Accelerator
  • information visualization
  • Instagram
  • intelligentwire
  • interactive music
  • internationalization
  • internet explorer
  • internet of things
  • internship
  • interviews
  • IO
  • IO17
  • io18
  • IO19
  • IO19 Flutter
  • IO2017
  • ios
  • iOS SDK
  • IoT
  • ipad
  • iphone
  • iPhone Development
  • israel
  • Issue Tracker
  • jaiku
  • japanese
  • java
  • javascript
  • jetpack
  • joomla
  • joomladayus2007
  • joomladayusa
  • json
  • karaoke
  • KDE
  • KDE 4.0
  • Keras
  • kernel
  • kernel summit
  • keynote
  • khronos
  • kids
  • kids coding
  • kids coding team
  • kml
  • korean
  • Krakow
  • Kubernetes
  • labs
  • lanchpad
  • languages
  • latam accelerator
  • LatAm startups
  • latitude
  • latvia
  • launch
  • launchpad
  • launchpad accelerator
  • launchpad studio
  • lca
  • Leadership
  • Learning
  • lens
  • lessons
  • licenses
  • linux
  • linux foundation
  • linux summit
  • linux virtual server
  • linuxconf eu
  • lithuania
  • Local Home
  • localization
  • LoCo
  • london
  • mac
  • MacFuse
  • Machine
  • machine intelligence
  • machine learning
  • machine learning accelerator
  • maker
  • Makers
  • malware
  • maps
  • maps apis
  • Marketplace
  • material
  • material components
  • material design
  • MDL
  • meetup
  • mercurial
  • Mexico startups
  • MIT CSAIL
  • MIT Media Lab
  • ml
  • ML Kit
  • MLCC
  • mobile
  • Mobile App Development
  • mobile design
  • Mobile Development
  • mobile performance
  • mobile sites
  • mobile speed
  • mobile UX
  • Mobile web
  • Mobile World Congress
  • mod_pagespeed
  • Moderator
  • monetize
  • MOOC
  • mozilla
  • multi-platform
  • mylar
  • myspace
  • MySQL
  • mythtv
  • named
  • narratives
  • native ads
  • native client
  • nearby
  • netbsd
  • non-profit
  • nonsense
  • nosql
  • notifications
  • Noto Serif CJK
  • nss
  • nvidia
  • NYT
  • O3D
  • oauth
  • OAuth playground
  • OAuth2
  • objective-c
  • OCaml
  • ocr
  • ODF
  • office hours
  • oha
  • online payments
  • OOXML
  • open data
  • open source
  • open source blog
  • open source releases
  • open web
  • openajax alliance
  • opengl
  • openid
  • opensocial
  • openssh
  • openssl
  • Optimization
  • oreilly
  • orkut
  • oscon
  • oscon2007
  • osi
  • oss devs
  • ossjam
  • osx
  • pactester
  • page speed
  • PageSpeed
  • palette
  • payment handler
  • payment request api
  • payment web standard
  • payments
  • paypal
  • Peer bonus program
  • performance
  • phone
  • photos
  • picasa
  • picasa web
  • places API
  • play services
  • playground
  • plone
  • plone sprint
  • podcast
  • poland
  • Poly
  • polymer
  • Polymer Summit
  • portugal
  • posix
  • PowerMeter API
  • prediction api
  • Prerender
  • preview
  • prizes
  • processing
  • programming
  • Progressive Web App
  • project hosting
  • Project Loon
  • Project Tango
  • prototype
  • proximity
  • pubsubhubbub
  • PWA
  • py3k
  • python
  • python sprint
  • Qualcomm
  • Qualcomm Google
  • rails
  • random hacks of kindness
  • Rasberry Pi
  • reader
  • releases
  • Remote Config
  • research
  • reserve seats
  • Responsible AI
  • result snippets
  • Reto Meier
  • Rewarded Ads
  • Rewarded Video Ads
  • rhino
  • Saatchi
  • Safety & Security
  • safety and security
  • salesforce
  • samba
  • Sample dialogs
  • sandbox
  • Santa Tracker
  • scalability
  • scale-ups
  • Sceneform
  • schedule
  • scholarship
  • scholarships
  • Scratch
  • screencast
  • sdk
  • sdks
  • search
  • security
  • Serbia
  • serif
  • service worker
  • sessions
  • seurat
  • shape
  • Sheets API
  • shindig
  • shopping
  • Shoreline Amphitheatre
  • showcase
  • sidewiki
  • sign-in
  • silverstripe
  • SIMD
  • sitemaps
  • sites api
  • sixapart
  • sketchup
  • Slides API
  • small business
  • small businesses
  • Smart Home
  • Smart Lock for Passwords
  • soap search api
  • soc
  • social
  • social graph
  • solaris
  • souders
  • spa2007
  • Space
  • spdy
  • speakers
  • speech
  • speed
  • speed tracer
  • Stable release
  • standards
  • startup
  • Startup accelerator
  • startups
  • STEM
  • storage
  • Street View
  • student programs
  • students
  • stuff
  • style
  • subscribed links
  • subscription
  • subversion
  • summer of code
  • Sundar Pichai
  • SVG
  • sxsw
  • syndication
  • tasks API
  • Team Drives (new)
  • techmakers
  • templates
  • TensorFlow
  • tensorflow dev summit
  • TensorFlow Lite
  • TensorFlow Research Cloud
  • tensorRT
  • Test Lab
  • testing
  • text embedding models
  • TF Lite
  • tfdevsummit
  • TFLite
  • themes
  • thought leadership
  • tool
  • Toolkit
  • tools
  • topp
  • TPU
  • training
  • tranparency
  • transit
  • translate
  • translation
  • tutorials
  • tv
  • ubiquitous computing
  • ubiquity
  • ubucon
  • ubuntu
  • Udacity
  • UI
  • Ukraine
  • unicode
  • unit test
  • Unity
  • universal
  • Universal App Campaigns
  • University
  • unix
  • url
  • url shortener
  • URLs
  • UX
  • video
  • videos
  • Vim
  • virtual keyboard
  • virtual reality
  • visualization
  • voice
  • voice kit
  • voice user interface
  • VR
  • VUI
  • wattpad
  • Wearables
  • Weave
  • web
  • web animations api
  • web apps
  • web components
  • web design
  • web designer
  • web development
  • web exponents
  • web fonts
  • web performance
  • web platform docs
  • web registry
  • webfonts
  • webgl
  • webmaster
  • WebP
  • website optimizer
  • webVR
  • weekly roundup
  • WhiteHouse.gov
  • Who's at Google I/O
  • win
  • windows
  • windows programming
  • Winter of Code
  • Women in Tech
  • Women Tech Makers
  • women techmakers
  • WomenTechmakers
  • writing
  • wtm
  • xauth
  • yahoo
  • Young Makers
  • youtube
  • zlib
  • zurich
  • ZXing
BERJAYA


Archive


  •     2019
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2018
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2017
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2016
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2015
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
  •     2014
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2013
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2012
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2011
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2010
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2009
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2008
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2007
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2006
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2005
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
BERJAYA
BERJAYA Subscribe
BERJAYA
BERJAYA
Visit Google Developers for docs, event info, and more.
BERJAYA

Company-wide

  • Official Google Blog
  • Public Policy Blog
  • Student Blog
BERJAYA

Products

  • Google for Work Blog
  • Chrome Blog
  • Official Android Blog
BERJAYA

Developers

  • Ads Developer Blog
  • Android Developers Blog
  • Developers Blog
BERJAYA
BERJAYA
  • Google
  • Privacy
  • Terms