Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please type your username.

Please type your E-Mail.

Please choose an appropriate title for the post.

Please choose the appropriate section so your post can be easily searched.

Please choose suitable Keywords Ex: post, video.

Browse

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Logo Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Logo

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Contact Us
Home/ Questions/Q 4932

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Latest Questions

Author
  • 61k
Author
Asked: November 27, 20242024-11-27T04:34:07+00:00 2024-11-27T04:34:07+00:00

CSS (OUTLINE, FONTS, LISTS, LINKS)

  • 61k

INTRODUCTION

In CSS, an outline is the line that surrounds the elements outside of the border, to make the element stand out in a webpage. The font family, boldness, size, and style of a text are determined by the CSS font property. You can use the CSS list properties to; set different list item markers (bullet) for ordered and unordered lists, add background colors to lists etc.

CSS OUTLINE

The outline properties in CSS include;
📌outline
📌outline-style
📌outline-color
📌outline-offset
📌outline-width

Outlines are totally different from borders. The outline is outside the element’s border and not part of the element’s dimensions. The total width and height of the element wouldn’t be affected by the given width of the outline.

CSS TEXTS & FONTS

In CSS I learnt there are different properties used to style and format text. These include;

📌The text-align property: Makes your text left/right aligned, centered, or justified.

📌The text-decoration is a property in CSS that is used to remove ‘decorations’ from texts. For example links in the webpage. When you include a link in your webpage, automatically the link is underlined. Adding this value;

a { text-decoration: none; }  
Enter fullscreen mode Exit fullscreen mode

Would remove the underlines from all the links without classes or ID’s in your webpage. The other values in the text-decoration include the overline, line-through, underline.

There is also a text property known as the text-transform. It is used to specify whether should be uppercase, lowercase or capitalize every word in the text. There are different properties available to style your text in CSS; text-indent, letter-spacing, line-height, directionetc. Most of these properties are easy to understand and use because their names define their purpose.

There is also font properties in CSS. These properties define the font family, the size, boldness etc. of a text. There are two types of font family names;

Generic family (Serif, Sans-serif, Monospace) and font family (Times New Roman, comic sans, Arial etc.). The easiest way to know the difference between them is, Serif fonts have small lines at the ends on their characters (You’d see a lines at the bottom of a capital F or M) and the sans-seriffonts have none of these lines. The monospace characters have the same width. It’s always advisable to use sans-serif fonts.

The font-family property should hold several font names as a “fallback” system. Which means it is advisable to include more than one font in case the browser does not support the first or previous font, it would try the next font till it finds one that it supports. Start with the font you want and end with a generic family, if no other fonts are available. Also, more than one font-family is specified in a comma separated list.

p {   font-family: monospace, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; } 
Enter fullscreen mode Exit fullscreen mode

To make the texts on your webpage follow the browser window, always set the text size with a viewport width(vw).

CSS LISTS/LINKS

The list-style-type property indicates the type of list bullet/ item marker (I always say bullets because the ‘item marker confuses me sometimes’). The type of list bullet can be a circle, square or be in numbers or alphabets whichever one you’d prefer.

An image can also be used as a bullet in CSS by using the list-style-image property.

Links in CSS are styled differently depending on the state they are in. There are four different types of link states;
📌a:link
📌a:visited
📌a:hover
📌a:active

They have an order in which they should be styled whether in a CSS external/internal style sheet: a:hover comes after a:linkand a:visited & a:active comes after a:hover.

CONCLUSION

I am actually getting a hold of this! I guess consistency pays sometimes 😊. Compared to the first day, I didn't understand most of the concepts. I am loving CSS so far since its making my website look quite pretty with its design properties. I hope you liked my blog post on my progress today. Thanks for reading!

beginnerscsstutorialwebdev
  • 0 0 Answers
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

Sidebar

Ask A Question

Stats

  • Questions 4k
  • Answers 0
  • Best Answers 0
  • Users 2k
  • Popular
  • Answers
  • Author

    ES6 - A beginners guide - Template Literals

    • 0 Answers
  • Author

    Understanding Higher Order Functions in JavaScript.

    • 0 Answers
  • Author

    Build a custom video chat app with Daily and Vue.js

    • 0 Answers

Top Members

Samantha Carter

Samantha Carter

  • 0 Questions
  • 20 Points
Begginer
Ella Lewis

Ella Lewis

  • 0 Questions
  • 20 Points
Begginer
Isaac Anderson

Isaac Anderson

  • 0 Questions
  • 20 Points
Begginer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help

Footer

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise

Querify Question Shop: Explore, ask, and connect. Join our vibrant Q&A community today!

About Us

  • About Us
  • Contact Us
  • All Users

Legal Stuff

  • Terms of Use
  • Privacy Policy
  • Cookie Policy

Help

  • Knowledge Base
  • Support

Follow

© 2022 Querify Question. All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.