CSS3 isn't the future, it's the present, and is ripe for the pickin' and is ready to respond to display your sites in multiple devices right now. Presented at Web 2.0 Expo New York 2011.
CSS3 isn't the future, it's the present, and is ready to respond to display your sites in multiple devices right now. Presented at Rich Web Experience 2011, Ft. Lauderdale, FL.
CSS3 is the latest standard for CSS.
CSS3 is completely backwards-compatible with earlier versions of CSS. CSS3 animations allows animation of most HTML elements without using JavaScript or Flash!
CSS3 isn't the future, it's the present, and is ripe for the pickin' and is ready to respond to display your sites in multiple devices right now. Presented at Web 2.0 Expo New York 2011.
CSS3 isn't the future, it's the present, and is ready to respond to display your sites in multiple devices right now. Presented at Rich Web Experience 2011, Ft. Lauderdale, FL.
CSS3 is the latest standard for CSS.
CSS3 is completely backwards-compatible with earlier versions of CSS. CSS3 animations allows animation of most HTML elements without using JavaScript or Flash!
CSS3 isn't the future, it's the present, and is ripe for the pickin' and is ready to respond to display your sites in multiple devices right now. Presented at Rich Web Experience 2011, Ft. Lauderdale, FL.
HTML5 is the next wave of development for the web, with the support from IE9 and IE10. Even Windows 8 will support native apps written in HTML5. This session will give an overview and a deeper dive into writing effective HTML5 together with your existing ASP.NET experience to create the best next generation web experience.
Recent implementation of CSS3 features in modern browsers allow for greater design control and creativity in our Web sites.
In this three-hour workshop, attendees will learn about using colors through RGBa and opacity, multiple background and border images, text and box shadows, CSS-enabled gradients and transitions as well as laying out text in multiple columns.
In addition to font embedding techniques and third-party font bureaus, we look into designing with older browsers in mind when coding with CSS3.
html & css powerpoint slide show for presentation. Here, basic concept of css using with html. a webpage decorated by css.
HTML- Hyper text markup language.
CSS- Cascading Style sheet.
Don't be fooled, CSS3 isn't the future, it's the present, and is ripe for the pickin' and is ready to respond to display your sites in multiple devices right now.
CSS3 - is everything we used to do wrong? Russ Weakley
This presentation from Remix 2011 explores CSS3, why we should use it and some of the issues. It also explores the bigger picture. Css resets, frameworks, Object oriented CSS, pre-processors, and responsive web design.
Developers keep hearing a lot about HTML5, but many don’t know what it actually means or is truly capable of. In this deep dive you will learn how to use HTML5 to solve existing challenges on the web and how to design and develop stunning HTML5 application. You will also preview HTML5 application runs cross platforms, in the desktop browsers as well as on the Phones. What will be covered in the session:
• Introduction to CSS3, Canvas, SVG, Video, and Audio
• What is the real potential of HTML5 using CSS3, Canvas, SVG, Video, Audio, and JavaScript?
• Canvas and SVG comparison, and when to use what
• Best Practices of writing good HTML5 application
• Come and see a collection of the best HTML5 application on Games, Videos, Movies, Comics, Travel, Music and Art
• Expect a lot of demos and code
Presentation and demo will be available at http://blogs.msdn.com/b/dorischen/
Drawing a Circle Three Ways: Generating Graphics for the WebCloudinary
Amy Cheng
Web Developer, New York Magazine
Drawing a Circle Three Ways: Generating Graphics for the Web
There are multiple ways to generate graphics for the web. In this talk, we’ll learn three ways create a circle: CSS, SVGs, the Canvas. Each approach has its advantages and disadvantages. Which one is best for mobile performance? Which one should I use to create visualizations based on real-time data? Which one is the best for personalized user interfaces?
We’ll answer these questions and explore how these technologies offer us possibilities of visual expressiveness on the web, across different form factors and platforms.
9 Months Web Development Diploma Course in North DelhiJessica Smith
There is more job demand in the freelance of the PHP CodeIgniter Course. To complete this course, join Next-G Education and move towards the future And there is also the course
CALL- 7683072463 VISIT- https://www.nextgeducation.com/
This is a presentation I gave on Sept. 25, 2012 for the Winnipeg PHP Group on some of the features in LESS I have started using in my own development environment.
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.
We’re not going to get into a real fight in this talk, don’t worry. Instead we are going to compare the 2 popular languages in their current state and see what the benefits and disadvantages are. Maybe we’ll throw some Angular in the battle as well and see what influence that has on the outcome of the match. After this talk, you’ll be better armed in your next meeting on which technology you should use for your next project!
This important annual b2b show is canada’s mobile & Wireless trade show, gathering together 100 exhibitors and approximately 2,000 high quality attendees.
CSS3 isn't the future, it's the present, and is ripe for the pickin' and is ready to respond to display your sites in multiple devices right now. Presented at Rich Web Experience 2011, Ft. Lauderdale, FL.
HTML5 is the next wave of development for the web, with the support from IE9 and IE10. Even Windows 8 will support native apps written in HTML5. This session will give an overview and a deeper dive into writing effective HTML5 together with your existing ASP.NET experience to create the best next generation web experience.
Recent implementation of CSS3 features in modern browsers allow for greater design control and creativity in our Web sites.
In this three-hour workshop, attendees will learn about using colors through RGBa and opacity, multiple background and border images, text and box shadows, CSS-enabled gradients and transitions as well as laying out text in multiple columns.
In addition to font embedding techniques and third-party font bureaus, we look into designing with older browsers in mind when coding with CSS3.
html & css powerpoint slide show for presentation. Here, basic concept of css using with html. a webpage decorated by css.
HTML- Hyper text markup language.
CSS- Cascading Style sheet.
Don't be fooled, CSS3 isn't the future, it's the present, and is ripe for the pickin' and is ready to respond to display your sites in multiple devices right now.
CSS3 - is everything we used to do wrong? Russ Weakley
This presentation from Remix 2011 explores CSS3, why we should use it and some of the issues. It also explores the bigger picture. Css resets, frameworks, Object oriented CSS, pre-processors, and responsive web design.
Developers keep hearing a lot about HTML5, but many don’t know what it actually means or is truly capable of. In this deep dive you will learn how to use HTML5 to solve existing challenges on the web and how to design and develop stunning HTML5 application. You will also preview HTML5 application runs cross platforms, in the desktop browsers as well as on the Phones. What will be covered in the session:
• Introduction to CSS3, Canvas, SVG, Video, and Audio
• What is the real potential of HTML5 using CSS3, Canvas, SVG, Video, Audio, and JavaScript?
• Canvas and SVG comparison, and when to use what
• Best Practices of writing good HTML5 application
• Come and see a collection of the best HTML5 application on Games, Videos, Movies, Comics, Travel, Music and Art
• Expect a lot of demos and code
Presentation and demo will be available at http://blogs.msdn.com/b/dorischen/
Drawing a Circle Three Ways: Generating Graphics for the WebCloudinary
Amy Cheng
Web Developer, New York Magazine
Drawing a Circle Three Ways: Generating Graphics for the Web
There are multiple ways to generate graphics for the web. In this talk, we’ll learn three ways create a circle: CSS, SVGs, the Canvas. Each approach has its advantages and disadvantages. Which one is best for mobile performance? Which one should I use to create visualizations based on real-time data? Which one is the best for personalized user interfaces?
We’ll answer these questions and explore how these technologies offer us possibilities of visual expressiveness on the web, across different form factors and platforms.
9 Months Web Development Diploma Course in North DelhiJessica Smith
There is more job demand in the freelance of the PHP CodeIgniter Course. To complete this course, join Next-G Education and move towards the future And there is also the course
CALL- 7683072463 VISIT- https://www.nextgeducation.com/
This is a presentation I gave on Sept. 25, 2012 for the Winnipeg PHP Group on some of the features in LESS I have started using in my own development environment.
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.
We’re not going to get into a real fight in this talk, don’t worry. Instead we are going to compare the 2 popular languages in their current state and see what the benefits and disadvantages are. Maybe we’ll throw some Angular in the battle as well and see what influence that has on the outcome of the match. After this talk, you’ll be better armed in your next meeting on which technology you should use for your next project!
This important annual b2b show is canada’s mobile & Wireless trade show, gathering together 100 exhibitors and approximately 2,000 high quality attendees.
Dr. Abhijit Mitra, Associate Professor and former Head, Dept. of Marine Science, University of Calcutta (INDIA) has been active in the sphere of Oceanography since 1985. He obtained his Ph.D as NET qualified scholar in 1994. Since then he joined Calcutta Port Trust and WWF (World Wide Fund), in various capacities to carry out research programmes on environmental science, biodiversity conservation, climate change and carbon sequestration. Presently Dr. Mitra is serving as the advisor of Oceanography Division of Techno India University, Kolkata. He has to his credit about 388 scientific publications in various National and International journals, and 34 books of postgraduate standards. Dr. Mitra has successfully completed about 16 projects on biodiversity loss in fishery sector, coastal pollution, alternative livelihood, climate change and carbon sequestration. Dr. Mitra also visited as faculty member and invited speakers in several foreign Universities of Singapore, Kenya, Oman and USA. In 2008, Dr. Mitra was invited as visiting fellow at University of Massachusetts at Dartmouth, USA to deliver a series of lecture on Climate Change. Dr. Mitra also successfully guided 29 Ph.D students. Presently his domain of expertise includes environmental science, mangrove ecology, sustainable aquaculture, alternative livelihood, climate change and carbon sequestration.
Dr. Abhijit Mitra, Associate Professor and former Head, Dept. of Marine Science, University of Calcutta (INDIA) has been active in the sphere of Oceanography since 1985. He obtained his Ph.D as NET qualified scholar in 1994. Since then he joined Calcutta Port Trust and WWF (World Wide Fund), in various capacities to carry out research programmes on environmental science, biodiversity conservation, climate change and carbon sequestration. Presently Dr. Mitra is serving as the advisor of Oceanography Division of Techno India University, Kolkata. He has to his credit about 388 scientific publications in various National and International journals, and 34 books of postgraduate standards. Dr. Mitra has successfully completed about 16 projects on biodiversity loss in fishery sector, coastal pollution, alternative livelihood, climate change and carbon sequestration. Dr. Mitra also visited as faculty member and invited speakers in several foreign Universities of Singapore, Kenya, Oman and USA. In 2008, Dr. Mitra was invited as visiting fellow at University of Massachusetts at Dartmouth, USA to deliver a series of lecture on Climate Change. Dr. Mitra also successfully guided 29 Ph.D students. Presently his domain of expertise includes environmental science, mangrove ecology, sustainable aquaculture, alternative livelihood, climate change and carbon sequestration.
Curso de teclado (COMPLETO) - Aprenda a Tocar TecladoCleber Lucas
Conheça o Melhor Curso Para Aprender a Tocar Teclado na Sua Casa: Acesse:
http://www.curso-funciona.com/academia-das-teclas-musica-sem-limites/
Você pode aprender a tocar teclado no conforto de sua casa e ainda assistir as aulas várias vezes, o curso Academia Das Teclas com certeza irá ajudar você.
Every IT company needs a Customer Support Executive. Many graduates initially play the role of a CSE in one or the other way however very few are aware of the actual responsibilities of a CSE. Know about the role of a Customer Support Executive in an IT company in this session.
GERENCIA Y ADMINISTRACION DE SALUD, SISTEMA DE SALUD DE LOS ESTADOS UNIDOS.Jorge Amarante
“Un sistema de salud es la suma de todas las organizaciones, instituciones y recursos cuyo objetivo principal consiste en mejorar la salud.”
En el siguiente ensayo se hablara del sistema de salud de estados unidos de américa abarcando su organización, los problemas que presenta, los recursos que tiene, su distribución y su comparación con los sistemas de salud de otros países desarrollados.
El objetivo de este ensayo es explicar cómo funciona el sistema de salud de estados unidos para lograr entender de forma sintetizada y correcta todo lo relacionado con este.
El sistema de salud de los estados unidos es uno de los sistemas de salud más avanzado, sofisticado, funcional que existe.
Comparándolo con el sistema de otras potencias este suele resaltar en muchos aspectos pero esto no lo exonera de tener sus bajas como el hecho de ser uno de los sistemas más caros del mundo a tal punto que muchas personas quedan sumidas en la pobreza por pagar por algunos servicios a pesar de tener seguro.
Otro de sus fuertes es que son el país que más invierte en investigaciones médicas aportando bienes y descubrimientos para la raza humana entera.
Well planned and scheduled vacation trips to cover most of the fun spots in Panama City and Boquete. Panamatravelcorp.com has put together various vacation tour packages in Panama in correspondence to the mood you are in.
CSS3 isn't the future, it's the present. Learn the gamut of CSS3 properties from colors, web fonts, and visual effects, to transitions, animations and media queries. Find the inspiration and resources to go forth and implement the new properties with confidence.
If you've been meaning to learn jQuery but haven't found the time, come to this introductory session where we'll cover all of the important basics of jQuery in a SharePoint context. By the end of the workshop, you'll be ready to start adding jQuery customizations to your SharePoint pages. We'll cover Selectors, Traversing, Manipulation, Events and Effects as I cover in my article series at SharePoint Magazine.
Алексей Швайка "Bundling: you are doing it wrong"Fwdays
Начинаете новый проект и не знаете что же выбрать: gulp+browserify, webpack или может brunch? SVG или PNG спрайты? На сколько сабдоменов шардить ресурсы? С повсеместным приходом HTTP/2.0 лучшие практики оптимизации загрузки веб-сайтов и приложений весьма изменились, однако наши инструменты -- нет. Как же деливерить несколько раз в день и не вынуждать пользователен перескачивать весь бандл?
Я расскажу об ограничениях HTTP/1.1, почему возникли бандлеры, как внутри работает HTTP/2.0, какие проблемы он решает, что такое server push, развею пару мифов о минификации, поведаю про преимущества progressive rendering, изменениях в whatwg html5 стандарте и покажу два способа (es6 modules и commonjs без препроцессинга) организации модулей на клиенте.
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.
JavaScript front end performance optimizationsChris Love
No one wants a slow loading, slow reacting application. As page weight has increased so has the dependency on JavaScript to drive rich user experiences. Today many pages load over 2MBs of JavaScript, but is this healthy? Do your scripts and dependencies perform well? In this session we will review common JavaScript performance bottlenecks, how to detect them and how to eliminate them.
This session will review common bad coding syntax, architecture and how to replace them with better alternatives. You will also be exposed to caching, code organization, build and deployment best practices that produce the best user experiences. Finally, you will see how to use the navigation timing and performance timing APIs to fine tune your applications to produce a fast, lean application your customers will love.
Building Amazing Applications with JavaFXRichard Bair
This presentation from Devoxx Belgium 2012 is a breakdown of the software behind the conference scheduling Kiosks that were shown at JavaOne 2012 and Devox 2012. Good content on Styling and CSS, Custom Controls, and Animated Transitions in JavaFX 2.0
Part of a presentation at Devoxx Belgium in 2011 targeted at "Rich Clients" (aka Rich Internet Applications) using JavaFX. It looks like some of the content went missing after slide 40!
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
3. Good Design Makes People Happy
3
-- Don Norman, UX Week, Jan 26, 2009
4. So you don’t need to have everything perfect…
they do a really good job of making the lines [at
Disneyland] as bearable as possible. And that’s
what user experience design is about, it’s about
memories… that in the end, you love it.
-- Don Norman, UX Week, Jan 26, 2009
15. Why CSS?
• CSS is a domain specific language
–Very good for declaring visual states
• CSS empowers designers
• CSS is a standard
• CSS is widely adopted
• Separation of concerns
• Interoperability
–Ability to use a single HTML stylesheet and have it
apply to the page + the applet
–Ability to have a single JavaFX stylesheet and have it
apply to the app + embedded HTML 15
16. What Is A Scene Graph?
• A directed acyclic graph (or tree)
–Each parent has 0 or more children
–Each child has at most a single parent
–There are no cycles (i.e. a-> b->a)
• Each node represents a visual element
–Rectangle
–Button
–Text
• Each node has visual state
–Transforms
–Paints 16
18. The DOM vs. The Scene Graph
• The DOM is also a directed acyclic graph
• DOM nodes also have visual stat
• DOM mixes up semantic & visuals
–<div> vs. <b> vs. <em>
• The scene graph has custom layouts
–The DOM only uses the HTML Box model
• The APIs are quite different
–We like to think the scene graph is significantly better
18
22. Adding The CSS File
Stage stage = new Stage();
Label label = new Label();
label.setText(“Hello World”);
Scene scene = stage.getScene();
scene.getContent().add(label);
scene.getStylesheets().add(“/example.css”);
stage.setVisible(true);
22
23. The example.css File
.label {
-fx-font: bold 20pt “Amble”;
-fx-text-fill:
linear (0%, 0%) to (0%, 100%)
stops (0.0, red) (1.0, black);
}
23
26. Syntax Of A Declaration
26
Attribute Value
-fx-font: bold 20pt “Amble”
27. What Is A “selector”?
• A pattern used to match a Node in the scene
–Match against the Node’s class, styleClass, id, and
pseudo-class state (hover, pressed, selected,
focused, etc)
27
Label { … } Matches any Node with class Label
(but not subclasses!)
.label { … } Matches any Node with styleClass “label”
#title { … } Matches any Node with id “title”
* { … } Matches any Node
.label:hover { … } Matches any Node with styleClass “label”
and “hover” equal to true
28. Adding A Button
Stage stage = new Stage();
Label label = new Label();
label.setText(“Hello World”);
Scene scene = stage.getScene();
scene.getContent().add(label);
Button button = new Button();
button.setText(“About”);
button.setGraphic(image(“/about_32.png”));
scene.getContent().add(button);
scene.getStylesheets().add(“/example.css”);
stage.setVisible(true); 28
30. Attributes => Node Properties
• CSS attribute names map 1:1 with a property on
a scene graph node
–Names are “css-ized”
–All names are prefixed with –fx-
30
-fx-text-fill setTextFill(Paint p)
-fx-fill setFill(Paint p)
-fx-font setFont(Font font)
-fx-scale-x setScaleX(float value)
31. Deviations From HTML CSS
• Attribute names differ
–HTML CSS has HTML specific attribute names
–JavaFX CSS has JavaFX specific attribute names
• JavaFX has more pseudoclasses
–Controls sometimes have custom pseudoclasses
–ToggleButton, Cell has a “selected” pseudoclass
–Cell has “even” and “odd” pseudoclasses
31
32. Additions To HTML CSS
• Lookup
• Color Functions
–derive
–ladder
• Gradients
• Multiple background fills
• Multiple borders
• Effects
–dropshadow
–innershadow
32