Preview

CSS3 Case Study

Powerful Essays
Open Document
Open Document
3529 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
CSS3 Case Study
3.1.3 Knowing CSS3
CSS3 is the latest standard of CSS. It is backward compatible with earlier versions of CSS. You have learnt in chapter 1.1 how CSS styles can be added to your HTML documents to style various HTML elements. The CSS styles and rules created so far in this book were using basic features of CSS that were available in CSS1 and CSS2. The CSS1 specification was released in the year 1996 which had limited styling capabilities like font properties, text colouring, margins, borders and padding etc. CSS2 came in year 1998. It provided new capabilities like absolute, relative and fixed positioning of elements, bidirectional text etc.
New features of CSS3 allow you to create more presentable and aesthetically appealing HTML pages. Notable
…show more content…
The example below shown some of the form styling features of CSS3 –
Listing 3.1.26 (-- removed HTML --) (-- removed HTML --) (-- removed HTML --) (-- removed HTML --) input[type=text] { width: 100%; box-sizing: border-box; border: 2px solid #ccc; border-radius: 3px; font-size: 16px; background-color: white; background-image: url('searchicon.png'); background-position: 1px 1px; background-repeat: no-repeat; padding: 12px 20px 12px 40px;
}
(-- removed HTML --) (-- removed HTML --) (-- removed HTML --) (-- removed HTML --) Input text with icon inside (-- removed HTML --) (-- removed HTML --) (-- removed HTML --) (-- removed HTML --) (-- removed HTML --) (-- removed HTML --)
This creates the following output:

Self-assessment Questions

8. Which of the following is/are not a CSS3 feature? (select multiple if applicable)
a) Text Shadow effect
b) Web Fonts
c) Web Storage
d) Geolocation API

9. Which of the following is a feature introduced in CSS3?
a) border-radius
b) border
c) background
d) font-size

10. Is CSS3 backward
…show more content…
 CSS3 can be used to style HTML5 documents.
 CSS3 has introduced features like rounded borders, web fonts and shadow text.
 SVG being XML based, every element is available within the SVG DOM. This means we can attach JavaScript event handlers for an element.
 (-- removed HTML --) drawing is resolution dependent whereas (-- removed HTML --) drawing resolution independent.
 Before HTML5, application data had to be stored in cookies. Cookies are included in every server request. Local storage is more secure and it allows to store large amounts of data locally, without affecting website performance.
 Local storage is per origin, per domain and per protocol. It means all pages from one origin can store and retrive the same data.
 Local storage supports APIs such localStorage.setItem(), localStorage.getItem() and localStorage.removeItem().
 The job of a rendering engine is to display the requested contents on the screen. By default, the rendering engine can display XML, HTML and images.
 A service worker is a JavaScript file that runs separately from the browser thread and sits between the web pages and application servers.

Terminal

You May Also Find These Documents Helpful

  • Good Essays

    Nt1310 Final Exam

    • 746 Words
    • 3 Pages

    If you have several Web pages and need a consistent style that can be easily updated, __________ is a good choice.…

    • 746 Words
    • 3 Pages
    Good Essays
  • Good Essays

    It237 Week 2 Checkpoint

    • 414 Words
    • 2 Pages

    Last, I will be describing the inline cascading style sheet as well as a pro and a con for it. An inline style sheet is in which the CSS or cascading style sheet code is written directly on the element in which it affects. One of the pros to using inline style is that it has the highest precedence. This is simply put that no matter what these are going to be applied. Another pro is that they are easily added to a document and you do not have to create an entire new document. One con to using the inline type is…

    • 414 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    DOM Level 2 was published in late 2000. It introduced the "getElementById" function as well as an event model and support for XML namespaces and CSS. DOM Level 2 consists of several W3C recommendations, published between 2000 and 2003, and has several modules, some of them being Core, HTML, these two improving and refining what was done in Level 1, and additional modules Events, Traversal-Range, Views, and Style.…

    • 559 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    HTML is currently in its fifth revision or HTML53. With HTML5 a standard is set for how to display the web page; where pictures are displayed, fonts used for text and total layout of the page. XML (extensible markup language) is used for web documents. CCS (cascading style sheet) is written into the HTML document or attached as a file to define the appearance of the displayed page.…

    • 897 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Web standards include recommendations for HTML, XHTML, Cascading style sheets, Dom, and the standardized version of…

    • 425 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    There are three types of styles when it comes to CSS. The first of the three styles would be inline styles. Next would be embedded styles and last would be external styles. There are many different advantags and disadvantages to using each different style. Each web designer has their own preference and sometimes even different reasons as to why they prefer specific style.…

    • 359 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Wow Papers

    • 1065 Words
    • 5 Pages

    {Title} /* end link controls */ #navigationn{ position:fixed; margin-top:20px; width:100%; text-align:center; margin-left:10px; } @font-face{ font-family:"kg odd-parents mh"; src: url('http://static.tumblr.com/7qdgtio/fl0m48w1j/fontdinerdotcomsparkly.ttf'); } @font-face { font-family: "ronda"; src: url('http://static.tumblr.com/rmj06l2/kcLlo1q2y/pf_ronda_seven.ttf'); } #status{ position:fixed; left:270px; padding-top:12px; top:70px; padding-bottom:12px; text-align:center; height:10px; width:68px; overflow:hidden; -webkit-transition: opacity 0.7s linear; -webkit-transition: all 0.7s ease-in-out; -moz-transition: all 0.7s ease-in-out; -o-transition: all 0.7s ease-in-out; background:transparent; z-index:9999; border-radius:5px; } #status:hover{ border:1px dashed #000; padding:5px; height:200px; overflow:hidden; width:200px; opacity:1.0; background:white; z-index:999999999; } #box{ height:auto; overflow-y:scroll; overflow-x:hidden; background:transparent; opacity:1.0; text-align:center; z-index:999999999; } #status2{ position:fixed; left:478px; padding-top:12px; top:70px; padding-bottom:12px; text-align:center; height:10px; width:68px; overflow:hidden; -webkit-transition: opacity 0.7s linear; -webkit-transition: all 0.7s ease-in-out; -moz-transition: all 0.7s ease-in-out; -o-transition: all 0.7s ease-in-out; background:transparent; border-radius:5px; z-index:2; } #status2:hover{ border:1px dashed #000; padding:5px; height:200px; width:220px; z-index:999999999; background:#ffffff; opacity:1.0; } #status3{ position:fixed ! important; left:708px; padding-top:12px; top:70px; padding-bottom:12px; text-align:center; height:10px; width:68px; overflow:hidden; border-radius:5px; -webkit-transition: opacity 0.7s linear; -webkit-transition: all 0.7s ease-in-out;…

    • 1065 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    Document Object Model

    • 455 Words
    • 2 Pages

    The Document Object Model or DOM is the interface that allows manipulation and access of a web page or a document. It is a structured, object-oriented representation of individual elements and contents of a web page, and it provides methods of retrieval and property settings of those objects. The Document Object Model also provides an interface allowing for the capture and response of user and browser actions.…

    • 455 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Javascript Course Notes

    • 9708 Words
    • 39 Pages

    To assist the scripter in working with these elements, the browser and JavaScript implements them as software objects. These objects have properties that often define the visual appearance of the object. Objects also have methods, which are the actions or commands that an object can carry out.…

    • 9708 Words
    • 39 Pages
    Powerful Essays
  • Good Essays

    Student

    • 678 Words
    • 3 Pages

    Since web browsing uses a stateless connection, cookies are used to maintain the state of a browsing session. Cookies are small data files that are produced by a web server that are stored on your computer. Cookies allow a personalized web browsing experience because of the identifying information that they store within them (such as login information, passwords, web pages visited, and/or items placed in a shopping cart). There are different types of cookies that are created for specific purposes. They include session, persistent, first-party, and third-party cookies. Session cookies are used to store information related to a particular visit during one session. Persistent cookies are used to store information permanently on your hard drive about your interactions and/or preferences with a certain web site. First-party cookies are used by the specific site that created them while their website is being visited, whereas third-party cookies are not created by the website that is being visited. Third-party cookies are created by another website besides the website being visited such as a banner advertisement on the web page that is being visited. (“Encyclopedia,”)…

    • 678 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Tumblr Theme

    • 1679 Words
    • 20 Pages

    <! DOCTYPE html> <html> <head> <! -- Special Dark Theme by stylizedthemes.tumblr.com --> < title>{block:…

    • 1679 Words
    • 20 Pages
    Powerful Essays
  • Good Essays

    Social Networking Profile

    • 395 Words
    • 3 Pages

    You'll start to see a pattern with these HTML projects: first we'll show you what you'll be…

    • 395 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    tudor statistics

    • 335 Words
    • 5 Pages

    var UA = confirm("Have you visited the 'Hair styles and Price list' page yet? Yes/No")…

    • 335 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    joom boot codes

    • 657 Words
    • 6 Pages

    <! DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Colegio de Dagupan-Home</title> <! --…

    • 657 Words
    • 6 Pages
    Satisfactory Essays
  • Better Essays

    Computer Packages

    • 849 Words
    • 4 Pages

    A good number of graphics Software packages list options on menus. The choices include shapes (squares, circles, rectangles), line widths (also called brush widths), and colours. Textures can be added to parts of the picture. A portion of a drawing can be enlarged to add details and shrunk again. Figures can be repeated or overlapped, rotated or flipped. Software producers have even succeeded on packages that can help the user draw three-dimensional (3D) art with a personal computer.…

    • 849 Words
    • 4 Pages
    Better Essays

Related Topics