The document discusses using CSS and Firebug to style web pages. It covers CSS fundamentals like syntax, selectors, the box model, positioning, and new CSS3 properties. It also explains how to use the Firefox tool Firebug to inspect and modify CSS rules and properties on a page. Resources for further learning about CSS and related tools are provided at the end.
Flexbox is a smart new layout mode for CSS that solves many problems we've struggled with for years. It adds a degree of control we didn't have before. No longer will you need to struggle with floats and clearfixes to address page layout challenges they were never designed to handle.
But wait, I hear you say, a new layout mode? Surely the browser support is awful? It's actually quite good, and I will show you how to write future-proof code that will work flawlessly in browsers that support flexbox while providing a fallback to those that don't.
In this talk, I will introduce the flexbox layout module and explain what it's good for (and what's it's NOT good for). I'll give examples of usage, outline a strategy for browser support, and prepare you to use flexbox TODAY!
This is a beginner level talk. You do not need to know anything about flexbox, but a basic understanding of CSS layout will be helpful.
Putting Flexbox into Practice presentation for Fronteers conference, October 10, 2013. Slightly updated version of slides posted in September. Get links to the demo page and related resources at http://www.zomigi.com/blog/flexbox-presentation.
Putting Flexbox into Practice presentation for Blend Conference in Charlotte, September 7, 2013. Slightly updated version presented at Fronteers on October 10; slides at http://www.slideshare.net/zomigi/putting-flexbox-into-practice-fronteers. Get links to the demo page and related resources at http://www.zomigi.com/blog/flexbox-presentation.
Peter Holzer, https://2020.ploneconf.org/speakers/peter-holzer
Stefan Antonelli, https://2020.ploneconf.org/speakers/stefan-antonelli
The story behind Barceloneta LTS (long term support)
https://2020.ploneconf.org/talks/modernize-plone2019s-classic-ui/view
Today’s designers when asked about HTML5 do hesitate to answer because of the lack of knowledge about HTML5.A Free Ebook On HTML 5 Step by Step Guide..
Mobile applications Development - Lecture 11
CSS3 Refresher
This presentation has been developed in the context of the Mobile Applications Development course at the Computer Science Department of the University of L’Aquila (Italy).
http://www.di.univaq.it/malavolta
Crafting an Impactful Home Page That Your Editors Will Lovecdw9
Your editors want a fancy home page in Plone with all the whistles, but you want to make sure that it's still functional and easy to edit when need be. What is the best way to build a home page that has both? In this talk we'll walk through the available methods for achieving this, such as templates, content types, or using a layout editor like Mosaic. I'll also show some custom things you can do with Mosaic, and talk about Search Engine Optimization.
Throughout I will show actual working examples from websites we have worked with.
More Related Content
Similar to Making CSS and Firebug Your New Friends
Flexbox is a smart new layout mode for CSS that solves many problems we've struggled with for years. It adds a degree of control we didn't have before. No longer will you need to struggle with floats and clearfixes to address page layout challenges they were never designed to handle.
But wait, I hear you say, a new layout mode? Surely the browser support is awful? It's actually quite good, and I will show you how to write future-proof code that will work flawlessly in browsers that support flexbox while providing a fallback to those that don't.
In this talk, I will introduce the flexbox layout module and explain what it's good for (and what's it's NOT good for). I'll give examples of usage, outline a strategy for browser support, and prepare you to use flexbox TODAY!
This is a beginner level talk. You do not need to know anything about flexbox, but a basic understanding of CSS layout will be helpful.
Putting Flexbox into Practice presentation for Fronteers conference, October 10, 2013. Slightly updated version of slides posted in September. Get links to the demo page and related resources at http://www.zomigi.com/blog/flexbox-presentation.
Putting Flexbox into Practice presentation for Blend Conference in Charlotte, September 7, 2013. Slightly updated version presented at Fronteers on October 10; slides at http://www.slideshare.net/zomigi/putting-flexbox-into-practice-fronteers. Get links to the demo page and related resources at http://www.zomigi.com/blog/flexbox-presentation.
Peter Holzer, https://2020.ploneconf.org/speakers/peter-holzer
Stefan Antonelli, https://2020.ploneconf.org/speakers/stefan-antonelli
The story behind Barceloneta LTS (long term support)
https://2020.ploneconf.org/talks/modernize-plone2019s-classic-ui/view
Today’s designers when asked about HTML5 do hesitate to answer because of the lack of knowledge about HTML5.A Free Ebook On HTML 5 Step by Step Guide..
Mobile applications Development - Lecture 11
CSS3 Refresher
This presentation has been developed in the context of the Mobile Applications Development course at the Computer Science Department of the University of L’Aquila (Italy).
http://www.di.univaq.it/malavolta
Similar to Making CSS and Firebug Your New Friends (20)
Crafting an Impactful Home Page That Your Editors Will Lovecdw9
Your editors want a fancy home page in Plone with all the whistles, but you want to make sure that it's still functional and easy to edit when need be. What is the best way to build a home page that has both? In this talk we'll walk through the available methods for achieving this, such as templates, content types, or using a layout editor like Mosaic. I'll also show some custom things you can do with Mosaic, and talk about Search Engine Optimization.
Throughout I will show actual working examples from websites we have worked with.
Contributing to Open Source (Lightning Talk version)cdw9
Jumping in to help on an existing open source project can be intimidating. I'll outline the steps of how to ease in to the process, which involves ways to help without writing code!
Yes of course, you can easily start mining pi network coin today and sell to legit pi vendors in the United States.
Here the telegram contact of my personal vendor.
@Pi_vendor_247
#pi network #pi coins #legit #passive income
#US
Seminar: Gender Board Diversity through Ownership NetworksGRAPE
Seminar on gender diversity spillovers through ownership networks at FAME|GRAPE. Presenting novel research. Studies in economics and management using econometrics methods.
USDA Loans in California: A Comprehensive Overview.pptxmarketing367770
USDA Loans in California: A Comprehensive Overview
If you're dreaming of owning a home in California's rural or suburban areas, a USDA loan might be the perfect solution. The U.S. Department of Agriculture (USDA) offers these loans to help low-to-moderate-income individuals and families achieve homeownership.
Key Features of USDA Loans:
Zero Down Payment: USDA loans require no down payment, making homeownership more accessible.
Competitive Interest Rates: These loans often come with lower interest rates compared to conventional loans.
Flexible Credit Requirements: USDA loans have more lenient credit score requirements, helping those with less-than-perfect credit.
Guaranteed Loan Program: The USDA guarantees a portion of the loan, reducing risk for lenders and expanding borrowing options.
Eligibility Criteria:
Location: The property must be located in a USDA-designated rural or suburban area. Many areas in California qualify.
Income Limits: Applicants must meet income guidelines, which vary by region and household size.
Primary Residence: The home must be used as the borrower's primary residence.
Application Process:
Find a USDA-Approved Lender: Not all lenders offer USDA loans, so it's essential to choose one approved by the USDA.
Pre-Qualification: Determine your eligibility and the amount you can borrow.
Property Search: Look for properties in eligible rural or suburban areas.
Loan Application: Submit your application, including financial and personal information.
Processing and Approval: The lender and USDA will review your application. If approved, you can proceed to closing.
USDA loans are an excellent option for those looking to buy a home in California's rural and suburban areas. With no down payment and flexible requirements, these loans make homeownership more attainable for many families. Explore your eligibility today and take the first step toward owning your dream home.
how can I sell pi coins after successfully completing KYCDOT TECH
Pi coins is not launched yet in any exchange 💱 this means it's not swappable, the current pi displaying on coin market cap is the iou version of pi. And you can learn all about that on my previous post.
RIGHT NOW THE ONLY WAY you can sell pi coins is through verified pi merchants. A pi merchant is someone who buys pi coins and resell them to exchanges and crypto whales. Looking forward to hold massive quantities of pi coins before the mainnet launch.
This is because pi network is not doing any pre-sale or ico offerings, the only way to get my coins is from buying from miners. So a merchant facilitates the transactions between the miners and these exchanges holding pi.
I and my friends has sold more than 6000 pi coins successfully with this method. I will be happy to share the contact of my personal pi merchant. The one i trade with, if you have your own merchant you can trade with them. For those who are new.
Message: @Pi_vendor_247 on telegram.
I wouldn't advise you selling all percentage of the pi coins. Leave at least a before so its a win win during open mainnet. Have a nice day pioneers ♥️
#kyc #mainnet #picoins #pi #sellpi #piwallet
#pinetwork
Falcon stands out as a top-tier P2P Invoice Discounting platform in India, bridging esteemed blue-chip companies and eager investors. Our goal is to transform the investment landscape in India by establishing a comprehensive destination for borrowers and investors with diverse profiles and needs, all while minimizing risk. What sets Falcon apart is the elimination of intermediaries such as commercial banks and depository institutions, allowing investors to enjoy higher yields.
Lecture slide titled Fraud Risk Mitigation, Webinar Lecture Delivered at the Society for West African Internal Audit Practitioners (SWAIAP) on Wednesday, November 8, 2023.
The European Unemployment Puzzle: implications from population agingGRAPE
We study the link between the evolving age structure of the working population and unemployment. We build a large new Keynesian OLG model with a realistic age structure, labor market frictions, sticky prices, and aggregate shocks. Once calibrated to the European economy, we quantify the extent to which demographic changes over the last three decades have contributed to the decline of the unemployment rate. Our findings yield important implications for the future evolution of unemployment given the anticipated further aging of the working population in Europe. We also quantify the implications for optimal monetary policy: lowering inflation volatility becomes less costly in terms of GDP and unemployment volatility, which hints that optimal monetary policy may be more hawkish in an aging society. Finally, our results also propose a partial reversal of the European-US unemployment puzzle due to the fact that the share of young workers is expected to remain robust in the US.
2. Elemental Economics - Mineral demand.pdfNeal Brewster
After this second you should be able to: Explain the main determinants of demand for any mineral product, and their relative importance; recognise and explain how demand for any product is likely to change with economic activity; recognise and explain the roles of technology and relative prices in influencing demand; be able to explain the differences between the rates of growth of demand for different products.
Abhay Bhutada Leads Poonawalla Fincorp To Record Low NPA And Unprecedented Gr...Vighnesh Shashtri
Under the leadership of Abhay Bhutada, Poonawalla Fincorp has achieved record-low Non-Performing Assets (NPA) and witnessed unprecedented growth. Bhutada's strategic vision and effective management have significantly enhanced the company's financial health, showcasing a robust performance in the financial sector. This achievement underscores the company's resilience and ability to thrive in a competitive market, setting a new benchmark for operational excellence in the industry.
The secret way to sell pi coins effortlessly.DOT TECH
Well as we all know pi isn't launched yet. But you can still sell your pi coins effortlessly because some whales in China are interested in holding massive pi coins. And they are willing to pay good money for it. If you are interested in selling I will leave a contact for you. Just telegram this number below. I sold about 3000 pi coins to him and he paid me immediately.
Telegram: @Pi_vendor_247
2. What is CSS?
PLONE CONFERENCE 2011
* Cascading Style Sheets
* Controls colors, fonts, sizes, positioning, etc
3. What is CSS?
PLONE CONFERENCE 2011
The cascade determines the order in which the
CSS is prioritized.
Factors include:
* order of importation
(Plone CSS Registry)
* specificity of selectors
* !important
flickr/Cayusa
4. How to insert CSS
PLONE CONFERENCE 2011
External:
<link rel=”stylesheet” type=”text/css”
href=”public.css”>
Embedded:
<style type=”text/css”>
body { background-color: #f1f1f1; }
</style>
Inline:
<p style=”color: #333333;”>
7. Selector Specificity
PLONE CONFERENCE 2011
h1.documentFirstHeading { ... }
- an h1 with the class documentFirstHeading
.section-news #content { ... }
- styles for #content when inside .section-news
#region-content.documentContent { ... }
- an element with both the id region-content
and class documentContent
8. A Matter of !Importance
PLONE CONFERENCE 2011
h1 { color: #ff0000 !important; }
will override
.section-news #content h1 { color: #333333; }
even though the second is more specific.
Use !important sparingly!
9. Pseudo Selectors
PLONE CONFERENCE 2011
Most popularly used on anchors for applying
styles to their different states:
a:hover
a:active
a:visited
flickr/Plbmak
12. Block vs Inline
PLONE CONFERENCE 2011
li { display: block; }
Block level elements start on a
new line and fill the space of
their parent. (p, div)
Inline items appear in line with
the text. (span, em, img) flickr/lobo235
13. Display Options
PLONE CONFERENCE 2011
one
block two
three
four
inline one two three four
one
two < for bullet display on li
list-item three
four
none < similar to visibility: hidden,
but doesn’t leave a space
14. Display Options
PLONE CONFERENCE 2011
* Block items should not be put inside inline items
* Inline items can be made “block” for applying
width and height
* Also, there is inline-block!
15. Box Model
PLONE CONFERENCE 2011
flickr/cmdshiftdesign
17. Floats & Clears
PLONE CONFERENCE 2011
img { float: right; }
Floats will push an element to one side and allow
content to wrap around it
18. Floats & Clears
PLONE CONFERENCE 2011
1. Containers don’t expand
for the floating content
2. You may not want the
next element to wrap
around the float.
You can use Plone’s .visualClear on a div, or :after
19. Floats & Clears
PLONE CONFERENCE 2011
With a clear: both; at the
end of the purple div.
overflow: auto; would also
do this
With a clear before the
next paragraph
22. Positioning
PLONE CONFERENCE 2011
* space is removed
* positioned within parent that
has position: relative;
(body, if none)
* position: fixed is similar, but
will stay in place when scrolling
* z-index can be applied for determining
top to bottom order
25. Multiple Backgrounds
PLONE CONFERENCE 2011
.box {
background:
url(‘base.jpg’) repeat-x bottom left,
url(‘top.jpg’) repeat-x top left,
url(‘middle.jpg’) repeat-y top center;
}
* separate with comma
* order from front to back
* only last can have a background color
26. Rounded Corners
PLONE CONFERENCE 2011
.box {
border: 1px solid #ffffff;
border-radius: 0 30px 30px 30px;
}
* clockwise from top left
* can make circles
28. Browser Stats
PLONE CONFERENCE 2011
X CSS3
~ CSS3
X CSS3
X CSS3
29. Firebug
PLONE CONFERENCE 2011
* Firefox web development tool
* Live Source Code (with JS applied)
* Styles
* Code is editable on the fly for
display in the browser. Changes
are not saved, and will reset on
refresh.
30. Firebug Inspector
PLONE CONFERENCE 2011
* Right click an element, select “Inspect Element”
* Or with Firebug open, click the Inspector, then
click an element
This will highlight the element in the HTML tab
31. Firebug Inspector
PLONE CONFERENCE 2011
With an element highlighted in the HTML tab,
you can see the styles applied to it.
32. Firebug Styles
PLONE CONFERENCE 2011
The style tab shows how the styles are cascading
in descending order
33. Firebug Styles
PLONE CONFERENCE 2011
In the Style tab, styles can
be adjusted, and new
properties can be added.
The browser will display
the changes. Values can
be typed or adjusted with
arrow keys
34. Firebug Styles
PLONE CONFERENCE 2011
The Layout tab shows box model styles. Values
can be adjusted here, and will only apply to the
selected element.
35. Firebug Styles
PLONE CONFERENCE 2011
To disable a style, hover over it, then click the
icon that will appear to the left
36. Add-ons For Your Add-on
PLONE CONFERENCE 2011
Firebug Extensions:
* Pixel Perfect
* FireDiff
Other Firefox Extensions:
* MeasureIt
* ColorZilla
* Web Developer Toolkit