CSS Preparation is a comprehensive category dedicated to assisting aspirants preparing for the Central Superior Services (CSS) exam in Pakistan . This category covers a wide range of subjects crucial for success in the CSS exam , including but not limited to Pakistan Affairs, Islamic Studies, General Knowledge, English and various optional subjects . The resources within this category are likely to include practice questions, mock tests, syllabus breakdowns and study materials that are tailored specifically to the CSS exam format and requirements .
How do you create a vertical line using CSS? |.
ReportQuestion
Anonymous
A. Using a background imageB. Using the `line-height` propertyC. Using a thin `div` with a `border`D. Using the `text-decoration` property
Please briefly explain why you feel this question should be reported.
Report
Cancel
Which CSS property controls the transparency of an element? |.
ReportQuestion
Anonymous
A. `visibility`B. `filter`C. `opacity`D. `transparent`
View Answer
Please briefly explain why you feel this question should be reported.
Report
Cancel
What CSS property is used to control the text’s indentation?
ReportQuestion
Anonymous
A. `margin-left`B. `padding-left`C. `text-indent`D. `text-align`
View Answer
Please briefly explain why you feel this question should be reported.
Report
Cancel
What CSS property controls the transparency of an element? |.
ReportQuestion
Anonymous
A. visibilityB. filterC. opacityD. transparent
View Answer
Please briefly explain why you feel this question should be reported.
Report
Cancel
Which CSS property controls the text’s horizontal alignment within a.
ReportQuestion
Anonymous
A. text-justifyB. text-alignC. align-textD. horizontal-align
View Answer
Please briefly explain why you feel this question should be reported.
Report
Cancel
How can you create a responsive image using CSS? |.
ReportQuestion
Anonymous
A. Use `width: auto; height: auto;`B. `max-width: 100%; height: auto;`C. `width: 100%; height: 100%;`D. `img { resize: both; }`
Please briefly explain why you feel this question should be reported.
Report
Cancel
How can you use CSS to create a hyperlink with.
ReportQuestion
Anonymous
A. `link { color: blue; }`B. `a { color: blue; }`C. `<a style="color:blue;">`D. `hyperlink { color: blue; }`
Please briefly explain why you feel this question should be reported.
Report
Cancel
What CSS property is used to control the text’s alignment.
ReportQuestion
Anonymous
A. `text-justify`B. `text-align`C. `align-text`D. `text-position`
View Answer
Please briefly explain why you feel this question should be reported.
Report
Cancel
What is the cascade in Cascading Style Sheets (CSS)? |.
ReportQuestion
Anonymous
A. A method of combining CSS filesB. A type of CSS selectorC. The way CSS rules are applied and prioritizedD. A CSS property for ...
Please briefly explain why you feel this question should be reported.
Report
Cancel
How can you style a pseudo-element using CSS? | pseudo.
ReportQuestion
Anonymous
A. Using the `:before` and `:after` pseudo-classesB. Using the `::before` and `::after` pseudo-elementsC. Using the `before` and `after` attributesD. Using JavaScript
Please briefly explain why you feel this question should be reported.
Report
Cancel