CSS Tutorial for Beginners Tamil - 05 - CSS BORDER PROPERTY (With Examples)

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • CSS Border Property (CSS Tamil Tutorial)
    CSS Border Style
    The border-style property specifies what kind of border to display.
    The following values are allowed:
    • dotted - Defines a dotted border
    • dashed - Defines a dashed border
    • solid - Defines a solid border
    • double - Defines a double border
    • inset - Defines a 3D inset border. The effect depends on the border-color value
    • outset - Defines a 3D outset border. The effect depends on the border-color value
    • none - Defines no border
    CSS Border - Individual Sides
    From the examples on the previous pages, you have seen that it is possible to specify a different border for each side.
    In CSS, there are also properties for specifying each of the borders (top, right, bottom, and left):
    border-top-style: dotted;
    border-right-style: solid;
    border-bottom-style: dotted;
    border-left-style: solid;
    Short Method
    border-style: dotted solid double dashed;
    CSS Border Width
    The border-width property specifies the width of the four borders.
    The width can be set as a specific size (in px, pt, cm, em, etc) or by using one of the three pre-defined values: thin, medium, or thick
    border-width: 5px;
    Specific Side Widths
    border-width: 5px 20px; /* 5px top and bottom, 20px on the sides */
    border-width: 25px 10px 4px 35px; /* 25px top, 10px right, 4px bottom and 35px left */
    CSS Border Color
    The border-color property is used to set the color of the four borders.
    The color can be set by:
    • name - specify a color name, like "red"
    • HEX - specify a HEX value, like "#ff0000"
    • RGB - specify a RGB value, like "rgb(255,0,0)"
    border-color: red;
    Specific Side Colors
    The border-color property can have from one to four values (for the top border, right border, bottom border, and the left border).
    border-color: red green blue yellow; /* red top, green right, blue bottom and yellow left */
    CSS Rounded Borders
    The border-radius property is used to add rounded borders to an element:
    Example :
    border-radius: 5px;

Комментарии • 20

  • @venirani4888
    @venirani4888 3 года назад +5

    Clockwise top right bottom left

  • @sangamithiranmass3544
    @sangamithiranmass3544 2 года назад +1

    Bro Amazing!!! Watching so many videos but this explaination is cleared my all doubts...

  • @ponpugal
    @ponpugal 2 года назад

    super bro,,,,live may long,,,god bless you,,crystal clear explanation

  • @omprakash-qu5ld
    @omprakash-qu5ld 3 года назад +2

    Please upload javascript video like html and css

  • @jokeryt2.060
    @jokeryt2.060 2 месяца назад

    bro enakku name ku madum border venum extra border venam
    athuku sollave illa

  • @dr.p.velmuruganasstprofinc268
    @dr.p.velmuruganasstprofinc268 Год назад

    Nice bro.
    How to fix the borders at fixed size?
    Example Text: Demo
    In this example border only fit for the text "Demo" only. Coding please.

  • @ranjethsundaram8753
    @ranjethsundaram8753 2 года назад +1

    Bro javascript ku video podunga pls

  • @sangeeththeking1619
    @sangeeththeking1619 3 года назад +1

    bro class namekku bathila I'd name use pannirukkalamla bro

  • @growmore2458
    @growmore2458 2 года назад

    Thanks bro very useful

  • @rakuwaranpirijatharsan4413
    @rakuwaranpirijatharsan4413 3 года назад +1

    java la video poduvenkala

  • @KadhatharanKadhatharan-vk5uv
    @KadhatharanKadhatharan-vk5uv Год назад

    Bro inline stylesheet la panna mudiyada

  • @Arunkhan77
    @Arunkhan77 3 года назад

    thanks bro

  • @spidey7751
    @spidey7751 3 года назад +1

    Bro javascript and php podunga

  • @vicky-zw7zq
    @vicky-zw7zq 4 года назад +3

    sir,what is the difference between id and class

    • @techtamizhan.official
      @techtamizhan.official  4 года назад

      Please watch html part 10 :)) for clear understanding

    • @techtamizhan.official
      @techtamizhan.official  4 года назад +2

      ID we should use for unique HTMl elements. Class we can use for repeating elements.

  • @manimazi2334
    @manimazi2334 4 года назад +1

    Bro,we can call border style by Element selector like h1,h2 like that...whether correct?

  • @shivav8731
    @shivav8731 4 года назад +1

    Anna ,purpose of class is to avoid multiple code for repeating elements only na.. But here we are using multiple style for each and every class in external style.. For that can we place inline style ? Is this right?