The property ________ is used to control the horizontal and vertical alignment of an element's border box within its containing block.
- align-box
- box-align
- align-content
- box-content
The correct option is align-content. This property is used to control how the browser distributes space around and between content items along the main or cross-axis. In the context of borders, it can adjust their alignment within the container.
Loading...
Related Quiz
- You're creating a fluid typography system where the font size should never go below 16px, never exceed 32px, and scale smoothly between these values based on the viewport width. Which CSS function will help you achieve this?
- For performance considerations, which CSS function can be used to move an element on the Z-axis without triggering layout or paint operations?
- What is the purpose of using the 'lang' attribute in HTML in the context of internationalization?
- During the testing phase, a team discovers that their website's layout breaks in Internet Explorer but works fine in other modern browsers. What approach should they take to resolve this without impacting the layout in modern browsers?
- In a project that requires support for multiple browsers, including older ones, what strategy should be adopted when using CSS properties that are not universally supported?