×
1 Choose EITC/EITCA Certificates
2 Learn and take online exams
3 Get your IT skills certified

Confirm your IT skills and competencies under the European IT Certification framework from anywhere in the world fully online.

EITCA Academy

Digital skills attestation standard by the European IT Certification Institute aiming to support Digital Society development

SIGN IN YOUR ACCOUNT TO HAVE ACCESS TO DIFFERENT FEATURES

CREATE AN ACCOUNT FORGOT YOUR PASSWORD?

FORGOT YOUR DETAILS?

AAH, WAIT, I REMEMBER NOW!

CREATE ACCOUNT

ALREADY HAVE AN ACCOUNT?
EUROPEAN INFORMATION TECHNOLOGIES CERTIFICATION ACADEMY - ATTESTING YOUR PROFESSIONAL DIGITAL SKILLS
  • SIGN UP
  • LOGIN
  • SUPPORT

EITCA Academy

EITCA Academy

The European Information Technologies Certification Institute - EITCI ASBL

Certification Provider

EITCI Institute ASBL

Brussels, European Union

Governing European IT Certification (EITC) framework in support of the IT professionalism and Digital Society

  • CERTIFICATES
    • EITCA ACADEMIES
      • EITCA ACADEMIES CATALOGUE<
      • EITCA/CG COMPUTER GRAPHICS
      • EITCA/IS INFORMATION SECURITY
      • EITCA/BI BUSINESS INFORMATION
      • EITCA/KC KEY COMPETENCIES
      • EITCA/EG E-GOVERNMENT
      • EITCA/WD WEB DEVELOPMENT
      • EITCA/AI ARTIFICIAL INTELLIGENCE
    • EITC CERTIFICATES
      • EITC CERTIFICATES CATALOGUE<
      • COMPUTER GRAPHICS CERTIFICATES
      • WEB DESIGN CERTIFICATES
      • 3D DESIGN CERTIFICATES
      • OFFICE IT CERTIFICATES
      • BITCOIN BLOCKCHAIN CERTIFICATE
      • WORDPRESS CERTIFICATE
      • CLOUD PLATFORM CERTIFICATENEW
    • EITC CERTIFICATES
      • INTERNET CERTIFICATES
      • CRYPTOGRAPHY CERTIFICATES
      • BUSINESS IT CERTIFICATES
      • TELEWORK CERTIFICATES
      • PROGRAMMING CERTIFICATES
      • DIGITAL PORTRAIT CERTIFICATE
      • WEB DEVELOPMENT CERTIFICATES
      • DEEP LEARNING CERTIFICATESNEW
    • CERTIFICATES FOR
      • EU PUBLIC ADMINISTRATION
      • TEACHERS AND EDUCATORS
      • IT SECURITY PROFESSIONALS
      • GRAPHICS DESIGNERS & ARTISTS
      • BUSINESSMEN AND MANAGERS
      • BLOCKCHAIN DEVELOPERS
      • WEB DEVELOPERS
      • CLOUD AI EXPERTSNEW
  • FEATURED
  • SUBSIDY
  • HOW IT WORKS
  •   IT ID
  • ABOUT
  • CONTACT
  • MY ORDER
    Your current order is empty.
EITCIINSTITUTE
CERTIFIED

What CSS property allows us to specify which properties should transition and how long the transition should take?

by EITCA Academy / Monday, 07 August 2023 / Published in Web Development, EITC/WD/HCF HTML and CSS Fundamentals, HTML and CSS extending skills, Creating transitions using CSS, Examination review

The CSS property that allows us to specify which properties should transition and how long the transition should take is the "transition" property. This property is used to create smooth and animated transitions between different states of an element.

The "transition" property is a shorthand property that combines several individual transition-related properties into one. These individual properties include "transition-property", "transition-duration", "transition-timing-function", and "transition-delay".

The "transition-property" property specifies the CSS properties that should transition. By default, all properties that can be animated using CSS transitions will transition. However, we can use this property to specify a comma-separated list of specific properties that we want to transition. For example:

css
div {
  transition-property: width, height;
}

In this example, the width and height properties of the div element will transition when their values change.

The "transition-duration" property specifies the duration of the transition. It determines how long the transition should take to complete. The value can be specified in seconds (s) or milliseconds (ms). For example:

css
div {
  transition-duration: 2s;
}

In this example, the transition will take 2 seconds to complete.

The "transition-timing-function" property specifies the timing function to be used for the transition. It determines how the intermediate property values are calculated during the transition. There are several predefined timing functions available, such as "ease", "linear", "ease-in", "ease-out", and "ease-in-out". We can also define our own custom timing functions using the cubic-bezier() function. For example:

css
div {
  transition-timing-function: ease-in-out;
}

In this example, the transition will start slowly, accelerate in the middle, and then slow down again at the end.

The "transition-delay" property specifies a delay before the transition starts. It determines how long to wait before starting the transition after a property change has been detected. The value can be specified in seconds (s) or milliseconds (ms). For example:

css
div {
  transition-delay: 1s;
}

In this example, the transition will start 1 second after a property change has been detected.

We can also combine all these individual properties into a single "transition" property using the shorthand syntax. For example:

css
div {
  transition: width 2s ease-in-out 1s;
}

In this example, the width property will transition with a duration of 2 seconds, an ease-in-out timing function, and a delay of 1 second.

The "transition" property in CSS allows us to specify which properties should transition and how long the transition should take. By using the individual transition-related properties or the shorthand "transition" property, we can create smooth and animated transitions between different states of an element.

Other recent questions and answers regarding Creating transitions using CSS:

  • How can you simplify the code for adding prefixes to CSS transitions for different browsers?
  • What is the purpose of the transition-delay property in CSS?
  • How can you control the timing function of a CSS transition?
  • How can you create a smooth transition between two images when hovering over a box?

More questions and answers:

  • Field: Web Development
  • Programme: EITC/WD/HCF HTML and CSS Fundamentals (go to the certification programme)
  • Lesson: HTML and CSS extending skills (go to related lesson)
  • Topic: Creating transitions using CSS (go to related topic)
  • Examination review
Tagged under: CSS, CSS Transitions, HTML, Transition Property, Web Development
Home » Creating transitions using CSS / EITC/WD/HCF HTML and CSS Fundamentals / Examination review / HTML and CSS extending skills / Web Development » What CSS property allows us to specify which properties should transition and how long the transition should take?

Certification Center

USER MENU

  • My Account

CERTIFICATE CATEGORY

  • EITC Certification (106)
  • EITCA Certification (9)

What are you looking for?

  • Introduction
  • How it works?
  • EITCA Academies
  • EITCI DSJC Subsidy
  • Full EITC catalogue
  • Your order
  • Featured
  •   IT ID
  • EITCA reviews (Reddit publ.)
  • About
  • Contact
  • Cookie Policy (EU)

EITCA Academy is a part of the European IT Certification framework

The European IT Certification framework has been established in 2008 as a Europe based and vendor independent standard in widely accessible online certification of digital skills and competencies in many areas of professional digital specializations. The EITC framework is governed by the European IT Certification Institute (EITCI), a non-profit certification authority supporting information society growth and bridging the digital skills gap in the EU.

    EITCA Academy Secretary Office

    European IT Certification Institute ASBL
    Brussels, Belgium, European Union

    EITC / EITCA Certification Framework Operator
    Governing European IT Certification Standard
    Access contact form or call +32 25887351

    Follow EITCI on Twitter
    Visit EITCA Academy on Facebook
    Engage with EITCA Academy on LinkedIn
    Check out EITCI and EITCA videos on YouTube

    Funded by the European Union

    Funded by the European Regional Development Fund (ERDF) and the European Social Fund (ESF), governed by the EITCI Institute since 2008

    Information Security Policy | DSRRM and GDPR Policy | Data Protection Policy | Record of Processing Activities | HSE Policy | Anti-Corruption Policy | Modern Slavery Policy

    Automatically translate to your language

    Terms and Conditions | Privacy Policy
    Follow @EITCI
    EITCA Academy

    Your browser doesn't support the HTML5 CANVAS tag.

    • Cloud Computing
    • Quantum Information
    • Cybersecurity
    • Web Development
    • Artificial Intelligence
    • GET SOCIAL
    EITCA Academy


    © 2008-2026  European IT Certification Institute
    Brussels, Belgium, European Union

    TOP
    CHAT WITH SUPPORT
    Do you have any questions?
    We will reply here and by email. Your conversation is tracked with a support token.