Author: majadc

  • background-attachment

    The background-attachment CSS property specifies how the background image should be attached to the viewport or an element. This property determines whether the background image is fixed within the viewport, or if it scrolls along with the element or its content. The background-image property is used in conjunction with background-attachment to achieve the desired effect.

    Read more

    Posted in CSS, CSS Reference

  • background-clip

    The background-clip CSS property determines if the element’s background components: image or color extends underneath its border, padding or content.

    Read more

    Posted in CSS, CSS Reference

  • background-origin

    The CSS background-origin property specifies whether the background image is positioned relative to the element’s border-box, padding-box or content-box. The background-origin is used in conjunction with the background-image property.

    Read more

    Posted in CSS, CSS Reference

  • background-repeat

    The CSS background-repeat property specifies if and how the background image is repeated. The background-repeat property is used in conjunction with the background-image property.

    Read more

    Posted in CSS, CSS Reference

  • background-size

    The CSS background-size property specifies the size of background image. The image can be stretched in order to fill the whole element or it can has particular size. The background-size is used in conjunction with the background-image property.

    Read more

    Posted in CSS, CSS Reference

  • background-position

    The background-position CSS property specifies the initial position of the background image for an element, including ::first-letter and :first-line. The background-position is used in conjunction with the background-image property and position is relative to the position specifies by background-origin.

    Read more

    Posted in CSS, CSS Reference

  • SSH – delete files/folder

    In order to to delete files via SSH you need to use -rm command.

    Read more

    Posted in SSH

  • background

    The background property specifies a color or an image of an element’s content, padding and border. This property can be used on inline, block, inline-block, table elements and ::first-letter and ::first-line.

    Read more

    Posted in CSS, CSS Reference

  • Thoughts about __proto__

    What __proto__ is, where it is hiding, what does it do. var obj = new Object([value]); Object() is a constructor. It creates an object of a type corresponding to the given value. If value is omitted or null or undefined it returns empty object. When a function object is created, it is given a prototype […]

    Read more

    Posted in JavaScript

  • Responsive images

    To create a responsive image, you need to add the max-width: 100% property to the img tag and set the width and height properties to auto. If there are no predefined values for the width and height, they can be omitted. The width of the parent container should be set in percent or can be […]

    Read more

    Posted in CSS, Snippets