From Nicole's talk at JSConf.eu where she presented her wish list for the future of CSS. She presents a brand-new expanded syntax which allows for prototypes, mixins, and variables and explains how a preprocessor can be used today to achieve a richer language in older browsers.
Your website has out-of-control CSS bloat. You know your performance is being impacted, but how do you move from organic CSS with no particular architecture to something lighter, more logical, and easier to maintain? In this session, Nicole Sullivan and Stoyan Stefanov will show you how they improved the CSS at Facebook and Yahoo! Search. After this session you will know how to:
1. Use lint tools to automate and evaluate the efficiency of your CSS
2. Avoid the top 5 causes of CSS bloat, and
3. Speed up your site by making the UI code an order of magnitude smaller.
The JavaScript community is one of the most vibrant and fun groups I've ever been lucky enough to be a part of. Like any vibrant community, sometimes people don't play nicely. In this session, I will discuss what it has been like to be shy *and* be on twitter, mailing lists, and open source. I'll talk about my experiences consulting on massive CSS overhauls, and ways to defeat trolls -- including your own inner troll! I'll also share a timing attack for your brain that might just surprise you.
We keep thinking we can write better CSS if we just try harder, that the next site will be clean and stay that way. This presentation shows that in fact, messy CSS is the direct result of our worst best-practices. We need to reexamine those assumptions with an eye to practicality and scalability as well as accessibility, standards, and fabulous design.
The Cascade, Grids, Headings, and Selectors from an OOCSS Perspective, Ajax ...Nicole Sullivan
The cascade is a poker game, but we've been playing our cards all wrong. Here Nicole suggests we stop trying to play to win to prevent code bloat, and simplify the cascade, using the order of the rulesets to allow overrides.
Nicole Sullivan and Stoyan Stefanov discuss their work optimizing CSS at Facebook and Yahoo!, As well as the state of CSS optimizations in the Alexa Top 1000 websites. What a mess!
From Velocity Conference and Texas-Javascript.
How do you scale CSS for millions of visitors or thousands of pages? The slides from Nicole's presentation at Web Directions North in Denver will show you how to use Object Oriented CSS to write fast, maintainable, standards-based front end code. Adds much needed predictability to CSS so that even beginners can participate in writing beautiful, standards-compliant, fast websites.
Css3 transitions and animations + graceful degradation with jQueryAndrea Verlicchi
CSS 3 introduces new styles, transforms, transitions, and animations. Transitions allow gradual change between states over time, while animations define automatic transitions through predefined states (keyframes). While CSS 3 works across doctypes, browser support varies, requiring vendor prefixes or JavaScript fallbacks for older browsers. Transitions and animations can enhance UX but should be used judiciously depending on necessity and performance impact.
Advanced Technology for Web Application DesignBryce Kerley
This document provides an overview and introduction to advanced technologies for web design, including HAML, SASS, Compass, CoffeeScript, Rake, and Charleston. HAML and SASS are markup languages that can simplify and improve HTML and CSS. Compass is a CSS meta-framework built with SASS. CoffeeScript is a programming language that compiles to JavaScript. Rake is a build tool that can be used with these technologies. Charleston is a static site generator that bundles Rake rules for using HAML, SASS, and CoffeeScript together on a project. Installation and usage instructions are provided for each technology.
You've got a sneaking suspicion that design impacts performance. What next? Your engineers know nothing about design and your designers know nothing about performance. How can you get everyone on the same page? Which design flaws must you absolutely avoid? How do engineers slow designs with poor CSS? This presentation covers the best practices in design and OO CSS for fast, maintainable sites.
* Abstraction
* Flexibility
* Grids
* Location dependent styles
Velocity Conference, 2009
Display Suite is a Drupal module that allows users to take full control over how content is displayed using a drag and drop interface without having to work with template files. It provides predefined layouts and allows users to create custom layouts and view modes. Display Suite also features code fields to add custom variables and styles to control field formatting. The module is actively maintained and widely used with thousands of active sites.
Refresh Tallahassee: The RE/MAX Front End StoryRachael L Moore
Come join us downstairs at the Proof Brewing Company for another excellent evening of inspiration! Rachael Moore, the front-end lead on the new remax.com, has kindly agreed to share the story and take a peek under the hood of this massive (and really nicely done) site. Among the likely topics of discussion are: Object-oriented CSS, CSS preprocessors, JavaScript frameworks, and the ins and outs of working with a distributed team.
This document discusses how domain-specific languages (DSLs) can be used to make Java code more readable and maintainable. It describes different types of DSLs including external and internal DSLs built with Java and scripting languages. It also discusses JetBrains MPS, a language workbench that provides a new approach for building DSLs without relying on a specific output language. DSLs allow raising the level of abstraction and separating stable and changing parts of code. Fluent APIs and internal DSLs in Java provide readability benefits, while scripting languages allow further readability through features like closures and list literals.
Famo.us - New generation of HTML5 Web Application FrameworkHina Chen
This document provides an overview of Famo.us, a new generation HTML5 web application framework. It discusses Famo.us' render engine and how it improves performance over traditional approaches by utilizing a virtual "render tree". Key aspects of Famo.us like modifiers, events handling, and views/widgets are explained. Examples are provided to illustrate challenges and their solutions in Famo.us. Integration with other frameworks like Angular and tools for building with Famo.us are also mentioned.
In this session, I explained the core concepts of SASS and how it can enhance your development workflow. Sketch Web Parts first in HTML move them to SPFx later...
[Stefan Bauer] For more than one decade no other SASS revolutionised the way we write CSS nowadays. In modern SharePoint development, this is the core ingredient to deliver optimised and well architecture.
SASS is also one of the core ingredients to develop new customisations for SharePoint through SPFX.
This session will give you an overview of the most useful concepts in SASS. Besides you will get to know some limitations in SPFX and how to handle those properly.
After this session you will be able to:
• Sketch and develop web parts faster
• Create your reusable CSS
• Apply themes to your web parts
• Handle external CSS properly in SPFX
Little documentation and few base themes with 8.x branches - what's a front end developer to do? I'll show you what's changing in Drupal theming between D7 and D8 and how to create a custom theme based on the Classy base theme, step by step. We'll go over Twig basics and Twig debugging.
This document provides an overview of using SASS in SharePoint Framework (SPFx) web parts. It discusses compiling SASS to CSS, autoprefixing CSS, and TypeScript class compilation. SASS allows for variables, nesting, mixins and other features that make CSS more modular and reusable. In SPFx, SASS files are compiled to CSS and TypeScript, with class names postfixed to avoid conflicts. Global selectors can avoid class name renaming. Theming is supported through Office UI Fabric color variables.
LESS is a dynamic stylesheet language that extends CSS syntax. It allows features like variables, mixins, nested rules, and functions to make CSS more powerful, flexible and maintainable. LESS code is compiled to regular CSS, allowing dynamic behavior and logic in stylesheets. Key features of LESS include variables to define constants, mixins to embed rule sets, nested rules to organize selectors, and operators to perform calculations for values.
CSS3 is became inescapable if you want to make beautiful, responsive and performing application. GWT lacked in terms of CSS3 support. The new CssResource will allow you to use the Google Closure stylesheets within your GWT application, allowing any CSS3 features to be also optimized by the GWT compiler. Join me for this talk to learn how to leverage Google closure stylesheets within your GWT applications.
Css3 and gwt in perfect harmony
Conference by Julien Dramaix, at GWT Create 2015.
Julien Dramaix is LEAD SOFTWARE ENGINEER, BEE-R COOL-ER at Arcbees.
You can follow Julien on Twitter @jDramaix
Dallas Drupal Days 2012 - Introduction to less sass-compassChris Lee
This document provides an introduction to Less, Sass, and Compass, which are CSS preprocessors. It discusses prerequisites including a strong understanding of CSS and familiarity with control structures and variables. The goals are to understand the high-level purpose of preprocessing languages and learn how to get started using them. Methods for using Less, Sass, and Compass with Drupal are presented, including modules and command line tools. Key concepts demonstrated include variables, mixins, importing, and frameworks like Compass. The document encourages questions and provides additional learning resources.
This document provides an introduction to using CSS3 properties like rounded corners, drop shadows, transforms, and transitions. It includes code examples for applying rounded corners, unevenly rounded corners, drop shadows, inset shadows, text shadows, color properties like RGB, HSL, and transitions. Transform properties demonstrated include translate, scale, and transform-origin. The final example shows how to create a circle with shadow.
This document discusses using CSS preprocessors like LESS, Sass, and Stylus to build mobile web apps. It covers getting started with Sass and Compass, using variables, operations, nesting, mixins, and other Sass features. It also discusses object-oriented CSS techniques like separating structure and skin, and container and content. The goal is to speed up front-end workflows and make CSS reusable, modular, and scalable.
One Div To Save Them All: Controlling Drupal Div's and Implementing a Modular...thejibe
1. Explains what Modular CSS is and how it can be helpful
2. Details how set file structures and naming conventions make this philosophy work best
3. Runs through how preprocessors like SAAS and adding on tools like SAAS-globbing and Compass can improve your workflow.
4. How this can all be applied to Drupal
The document provides best practices for developing with Drupal including getting Drupal from version control, updating modules, using revision control, module development practices like understanding prerequisites and hooks, input validation, avoiding direct database queries, theme development practices like available theme engines and template variables, and overriding themeable functions.
Creating Living Style Guides to Improve PerformanceNicole Sullivan
Refactoring Trulia’s UI with SASS, OOCSS, and handlebars. My slides from jsconf 2013. Lot's of yummy details about the performance improvements we were able to make.
Let’s admit it, the tools for writing CSS aren’t very advanced. For the most part, the people who write tools don’t know about CSS and the people who know about CSS don’t write tools. Quite a conundrum!
In this session, you’ll learn about good tools that can make development faster and maintenance easier. We’ll also talk a bit about where we can go from here.
What tools do we need as sites are becoming more and more complex? We need to get beyond tools whose primary goal is to avoid hand-coding and realize that, as our techniques for writing CSS become more powerful, our tools can too! Session will include:
* Validators
* Preprocessors
* Finding dead rules
* Linting
* CSS3 gradient tools
* Performance measurement tools
* Unit testing
From Nicole's presentation at the CSS Summit. This is brand new research regarding efficient CSS selector design. Practicing the rules outlined here will make your CSS lean, your site fast, and your maintenance minimal. A beautiful combination for people concerned with building performance into their sites.
This document discusses object-oriented CSS (OOCSS) as an evolution of CSS that makes it more powerful. OOCSS involves creating reusable CSS objects rather than page-specific rules, setting good global defaults, abstracting reusable elements, separating container and content, and using multiple classes to simulate inheritance. This allows for more scalable, maintainable and performant CSS code. Some best practices of OOCSS include creating semantic object classes like .heading rather than styling specific elements directly. The document provides examples of OOCSS principles and their benefits.
Nicole Sullivan gives a presentation on designing fast websites. She discusses why performance matters, how websites have grown more complex over time, and how poor performance can negatively impact businesses. She provides several best practices for optimizing websites, such as creating reusable components, using consistent styles, making modules transparent, optimizing images through sprites and compression, avoiding non-standard fonts and using columns instead of rows.
The 7 Habits of Exceptional Performance discusses techniques for optimizing website performance. It recommends flushing the buffer early, using GET requests for AJAX, preloading components, avoiding filters, measuring performance metrics, and balancing new features with performance improvements. High performance should be baked into the development process from the start. Key metrics to track include page weight, response time, and HTTP requests.
The document discusses 20 additional best practices for improving web performance beyond the original 14 recommendations from YSlow. It covers techniques like flushing the buffer early, splitting components for post-loading, preloading necessary assets, reducing unnecessary DOM elements, optimizing images through techniques like converting to smaller file formats and using CSS sprites, and designing for mobile performance. The document provides examples and case studies to illustrate the recommendations and cites additional resources on web performance.
Best Practices for Effectively Running dbt in Airflow.pdfTatiana Al-Chueyr
As a popular open-source library for analytics engineering, dbt is often used in combination with Airflow. Orchestrating and executing dbt models as DAGs ensures an additional layer of control over tasks, observability, and provides a reliable, scalable environment to run dbt models.
This webinar will cover a step-by-step guide to Cosmos, an open source package from Astronomer that helps you easily run your dbt Core projects as Airflow DAGs and Task Groups, all with just a few lines of code. We’ll walk through:
- Standard ways of running dbt (and when to utilize other methods)
- How Cosmos can be used to run and visualize your dbt projects in Airflow
- Common challenges and how to address them, including performance, dependency conflicts, and more
- How running dbt projects in Airflow helps with cost optimization
Webinar given on 9 July 2024
YOUR RELIABLE WEB DESIGN & DEVELOPMENT TEAM — FOR LASTING SUCCESS
WPRiders is a web development company specialized in WordPress and WooCommerce websites and plugins for customers around the world. The company is headquartered in Bucharest, Romania, but our team members are located all over the world. Our customers are primarily from the US and Western Europe, but we have clients from Australia, Canada and other areas as well.
Some facts about WPRiders and why we are one of the best firms around:
More than 700 five-star reviews! You can check them here.
1500 WordPress projects delivered.
We respond 80% faster than other firms! Data provided by Freshdesk.
We’ve been in business since 2015.
We are located in 7 countries and have 22 team members.
With so many projects delivered, our team knows what works and what doesn’t when it comes to WordPress and WooCommerce.
Our team members are:
- highly experienced developers (employees & contractors with 5 -10+ years of experience),
- great designers with an eye for UX/UI with 10+ years of experience
- project managers with development background who speak both tech and non-tech
- QA specialists
- Conversion Rate Optimisation - CRO experts
They are all working together to provide you with the best possible service. We are passionate about WordPress, and we love creating custom solutions that help our clients achieve their goals.
At WPRiders, we are committed to building long-term relationships with our clients. We believe in accountability, in doing the right thing, as well as in transparency and open communication. You can read more about WPRiders on the About us page.
Comparison Table of DiskWarrior Alternatives.pdfAndrey Yasko
To help you choose the best DiskWarrior alternative, we've compiled a comparison table summarizing the features, pros, cons, and pricing of six alternatives.
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxSynapseIndia
Your comprehensive guide to RPA in healthcare for 2024. Explore the benefits, use cases, and emerging trends of robotic process automation. Understand the challenges and prepare for the future of healthcare automation
Best Programming Language for Civil EngineersAwais Yaseen
The integration of programming into civil engineering is transforming the industry. We can design complex infrastructure projects and analyse large datasets. Imagine revolutionizing the way we build our cities and infrastructure, all by the power of coding. Programming skills are no longer just a bonus—they’re a game changer in this era.
Technology is revolutionizing civil engineering by integrating advanced tools and techniques. Programming allows for the automation of repetitive tasks, enhancing the accuracy of designs, simulations, and analyses. With the advent of artificial intelligence and machine learning, engineers can now predict structural behaviors under various conditions, optimize material usage, and improve project planning.
The Rise of Supernetwork Data Intensive ComputingLarry Smarr
Invited Remote Lecture to SC21
The International Conference for High Performance Computing, Networking, Storage, and Analysis
St. Louis, Missouri
November 18, 2021
Quality Patents: Patents That Stand the Test of TimeAurora Consulting
Is your patent a vanity piece of paper for your office wall? Or is it a reliable, defendable, assertable, property right? The difference is often quality.
Is your patent simply a transactional cost and a large pile of legal bills for your startup? Or is it a leverageable asset worthy of attracting precious investment dollars, worth its cost in multiples of valuation? The difference is often quality.
Is your patent application only good enough to get through the examination process? Or has it been crafted to stand the tests of time and varied audiences if you later need to assert that document against an infringer, find yourself litigating with it in an Article 3 Court at the hands of a judge and jury, God forbid, end up having to defend its validity at the PTAB, or even needing to use it to block pirated imports at the International Trade Commission? The difference is often quality.
Quality will be our focus for a good chunk of the remainder of this season. What goes into a quality patent, and where possible, how do you get it without breaking the bank?
** Episode Overview **
In this first episode of our quality series, Kristen Hansen and the panel discuss:
⦿ What do we mean when we say patent quality?
⦿ Why is patent quality important?
⦿ How to balance quality and budget
⦿ The importance of searching, continuations, and draftsperson domain expertise
⦿ Very practical tips, tricks, examples, and Kristen’s Musts for drafting quality applications
https://www.aurorapatents.com/patently-strategic-podcast.html
Measuring the Impact of Network Latency at TwitterScyllaDB
Widya Salim and Victor Ma will outline the causal impact analysis, framework, and key learnings used to quantify the impact of reducing Twitter's network latency.
Implementations of Fused Deposition Modeling in real worldEmerging Tech
The presentation showcases the diverse real-world applications of Fused Deposition Modeling (FDM) across multiple industries:
1. **Manufacturing**: FDM is utilized in manufacturing for rapid prototyping, creating custom tools and fixtures, and producing functional end-use parts. Companies leverage its cost-effectiveness and flexibility to streamline production processes.
2. **Medical**: In the medical field, FDM is used to create patient-specific anatomical models, surgical guides, and prosthetics. Its ability to produce precise and biocompatible parts supports advancements in personalized healthcare solutions.
3. **Education**: FDM plays a crucial role in education by enabling students to learn about design and engineering through hands-on 3D printing projects. It promotes innovation and practical skill development in STEM disciplines.
4. **Science**: Researchers use FDM to prototype equipment for scientific experiments, build custom laboratory tools, and create models for visualization and testing purposes. It facilitates rapid iteration and customization in scientific endeavors.
5. **Automotive**: Automotive manufacturers employ FDM for prototyping vehicle components, tooling for assembly lines, and customized parts. It speeds up the design validation process and enhances efficiency in automotive engineering.
6. **Consumer Electronics**: FDM is utilized in consumer electronics for designing and prototyping product enclosures, casings, and internal components. It enables rapid iteration and customization to meet evolving consumer demands.
7. **Robotics**: Robotics engineers leverage FDM to prototype robot parts, create lightweight and durable components, and customize robot designs for specific applications. It supports innovation and optimization in robotic systems.
8. **Aerospace**: In aerospace, FDM is used to manufacture lightweight parts, complex geometries, and prototypes of aircraft components. It contributes to cost reduction, faster production cycles, and weight savings in aerospace engineering.
9. **Architecture**: Architects utilize FDM for creating detailed architectural models, prototypes of building components, and intricate designs. It aids in visualizing concepts, testing structural integrity, and communicating design ideas effectively.
Each industry example demonstrates how FDM enhances innovation, accelerates product development, and addresses specific challenges through advanced manufacturing capabilities.
Quantum Communications Q&A with Gemini LLM. These are based on Shannon's Noisy channel Theorem and offers how the classical theory applies to the quantum world.
Are you interested in dipping your toes in the cloud native observability waters, but as an engineer you are not sure where to get started with tracing problems through your microservices and application landscapes on Kubernetes? Then this is the session for you, where we take you on your first steps in an active open-source project that offers a buffet of languages, challenges, and opportunities for getting started with telemetry data.
The project is called openTelemetry, but before diving into the specifics, we’ll start with de-mystifying key concepts and terms such as observability, telemetry, instrumentation, cardinality, percentile to lay a foundation. After understanding the nuts and bolts of observability and distributed traces, we’ll explore the openTelemetry community; its Special Interest Groups (SIGs), repositories, and how to become not only an end-user, but possibly a contributor.We will wrap up with an overview of the components in this project, such as the Collector, the OpenTelemetry protocol (OTLP), its APIs, and its SDKs.
Attendees will leave with an understanding of key observability concepts, become grounded in distributed tracing terminology, be aware of the components of openTelemetry, and know how to take their first steps to an open-source contribution!
Key Takeaways: Open source, vendor neutral instrumentation is an exciting new reality as the industry standardizes on openTelemetry for observability. OpenTelemetry is on a mission to enable effective observability by making high-quality, portable telemetry ubiquitous. The world of observability and monitoring today has a steep learning curve and in order to achieve ubiquity, the project would benefit from growing our contributor community.
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionBert Blevins
Cybersecurity is a major concern in today's connected digital world. Threats to organizations are constantly evolving and have the potential to compromise sensitive information, disrupt operations, and lead to significant financial losses. Traditional cybersecurity techniques often fall short against modern attackers. Therefore, advanced techniques for cyber security analysis and anomaly detection are essential for protecting digital assets. This blog explores these cutting-edge methods, providing a comprehensive overview of their application and importance.
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc
Six months into 2024, and it is clear the privacy ecosystem takes no days off!! Regulators continue to implement and enforce new regulations, businesses strive to meet requirements, and technology advances like AI have privacy professionals scratching their heads about managing risk.
What can we learn about the first six months of data privacy trends and events in 2024? How should this inform your privacy program management for the rest of the year?
Join TrustArc, Goodwin, and Snyk privacy experts as they discuss the changes we’ve seen in the first half of 2024 and gain insight into the concrete, actionable steps you can take to up-level your privacy program in the second half of the year.
This webinar will review:
- Key changes to privacy regulations in 2024
- Key themes in privacy and data governance in 2024
- How to maximize your privacy program in the second half of 2024
Sustainability requires ingenuity and stewardship. Did you know Pigging Solutions pigging systems help you achieve your sustainable manufacturing goals AND provide rapid return on investment.
How? Our systems recover over 99% of product in transfer piping. Recovering trapped product from transfer lines that would otherwise become flush-waste, means you can increase batch yields and eliminate flush waste. From raw materials to finished product, if you can pump it, we can pig it.
3. GOALS
❖ CSS is already awesome, but it can be even better!
❖ Make CSS a better declarative language
❖ Abstract repeating patterns in the code
❖ Do not make CSS a programming language
4. USABILITY
❖ CSS is already awesome, but it can be easier to author!
❖ Make CSS easier for newbies
❖ Improve performance by dramatically reducing the amount of
code
❖ Make the language more robust with more useful browser
warnings
5. VARIABLES
make global changes easier
Reference: CSS Variables,Glazman and Hyatt
6. DEFINE VARIABLES
variable group
@variables hex {
facebookBlue: #3b5998;
highlight: #FF9933;
}
variable name
@variables <var group name> { <var name>: <value> }
7. CALL VARIABLES
h2, h4, h6 {
/* call var */
color: hex.facebookBlue;
}
variable name
variable group
<var group name>.<var name>
12. MODIFY PROTOTYPES
sub-node is a property
of the prototype
.mod .inner {
position: relative;
}
Inner becomes a property node of .mod
13. EXTEND PROTOTYPES
prototype
.weatherMod {
extends: .mod;
}
extends key
weather now has all the properties of mod,
including sub-nodes
14. EXTENDS - UNDER THE
HOOD
@prototype .mod,
.weatherMod{ ... }
.mod .inner,
.weatherMod .inner { ... }
.weatherMod { ... }
normal cascade order is respected
15. PROTOTYPE
ENCAPSULATION
.leftCol .inner { /* invalid */
color:red;
} sub-node is a property
of the prototype mod
inner belongs to mod and leftCol doesn't extend mod the
ruleset is invalid and should be ignored by the UA
18. MODIFY MIXINS
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
Any selector which references “.clearfix”
modifies the mixin
19. INCLUDING MIXINS
mixin
.line{
include: .clearfix;
}
include key
copies clearfix property value pairs to the
current location in the code
20. MIXINS - UNDER THE
HOOD
property value
.line {zoom:1;} pairs are copied
.line:after { from clearfix to
content: "."; line
display: block;
height: 0;
clear: both;
visibility: hidden;
}
21. USE MIXINS FOR SMALL
BITS OF REPEATING CODE
remove non-semantic classes from the html
like clearfix or rounded7px
22. MIXINS ARE NOT
CASCADED
Property value pairs are invoked as if they were declared at the
current location in the code.
23. PROTOTYPE SUB-NODES
define the relationship between
sub-nodes of the same prototype
24. SHOULD THIS BE POSSIBLE?
does it add enough value to justify the additional complexity?
25. I FOUND MYSELF WRITING
COMMENTS LIKE THESE
/*
margin top =
bottom height - corner height
*/
Values are predictable and easy to calculate because the
complexity lives in the abstraction.
26. SUB-NODES EXAMPLE
.flow .bottom {
height:4px;
margin-top:-4px;
} bottom corner
margin top = -
.flow .bl { height height
margin-top:-6px;
}
example from my open source project,
corner height is defined as 10px in the .mod prototype
27. SUB-NODE VALUE
CALCULATION
.mod .bottom {
height: 5px; calculation of margin based
} on defined values
.mod .bl {
height: 10px;
margin-top:
.bl.height - .bottom.height;
}
<subnode node class>.<css property>
28. SUB-NODES - UNDER THE
HOOD
❖ Use this syntax to define the relationship between the nodes
of an object
❖ Can only access nodes of the current object
❖ Can only access defined values (not computed style)
❖ Not intended to substitute for good flexible layout!
29. OUTCOMES
if the method and syntax are right,
the code should meet the stated goals
30. RESULTS ARE
PROMISING
In the parent node, if we
express these relationships,
the predictability of simple
skins can be improved
Reference: Gonzalo Cordero, Jenny Han Donnelly, Chris Klaiber
31. EASY PEASY
The complex bit is harder, but
the implementation of skins is dead simple.
.gonzalo {extends: .mod;}
.gonzalo,
.gonzalo .inner,
.gonzalo b {
background-
image:url(gonzaloModule.png);
}
32. EASY PEASY
The complex bit is harder, but
the implementation of skins is dead simple.
.gonzalo {extends: .mod;}
.gonzalo,
.gonzalo .inner,
.gonzalo b {
background-
image:url(gonzaloModule.png);
}
two rules to create
this rounded corner box
Stephen talked yesterday about how the CSS working group seems to focus on special effects over real fundamental changes.
Special effects are great, but we need *more*.
The language needs better ways to express all the things i&#x2019;ve been talking about.
Example, YUI standard module format.
Imagine you could define a css class to be an prototype, a repeating pattern of code off which more specific objects could be built.
Important because, as we saw before, order matters.
Let&#x2019;s look at what the code is doing.
Is there another way to arrive at this magic number? To not need to do the calculation by hand in each specific instance of the object?
Let&#x2019;s look at what the code is doing.
Is there another way to arrive at this magic number? To not need to do the calculation by hand in each specific instance of the object?
Let&#x2019;s look at what the code is doing.
Is there another way to arrive at this magic number? To not need to do the calculation by hand in each specific instance of the object?
Stephen talked yesterday about how the CSS working group seems to focus on special effects over real fundamental changes.
Special effects are great, but we need *more*.
The language needs better ways to express all the things i&#x2019;ve been talking about.