majadc.com

css, html, javascript

  • Home
  • CSS
  • Snippets
  • Notes
  • Web
  • GitHub
Skip to content

Snippets

  • The grid system – float and clearfix.

    Grid Layout consists of 12 columns based on floats.

    Read more

    Posted in Snippets

  • Gradient Text

    Snippet for gradient text.

    Read more

    Posted in CSS, Snippets

  • Using vw for font size

    Setting font size in vw units using the cacl() function.

    Read more

    Posted in CSS, Snippets

  • Centering vertically

    Centering vertically text using line-height See the Pen Vertical centring – text -line-height by majadc (@majadc) on CodePen. Centering vertically image using span element See the Pen Centering vertically using span by majadc (@majadc) on CodePen. Centering vertically image using flex box. See the Pen Centering vertically – flexbox by majadc (@majadc) on CodePen. Centering […]

    Read more

    Posted in CSS, Snippets

  • font-size 62.5%

    Setting font-size in a root element to 62.5%.

    Read more

    Posted in CSS, Snippets

  • 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

  • Gradients

    The CSS gradients are types of background images and represents smooth transitions between colors.

    Read more

    Posted in CSS, Snippets

  • Posts navigation

    Newer posts
  • Proudly powered by WordPress
  • majadc.com
  • Privacy Policy

We do not collect any personal data. The website does not require registrations. We may use cookies in order to save yours preferences for future visits. If you decide to disable cookies in theirs browser it will not affect your experience. We use third party services like Google Analytics and WP Statistic for functionality and to better understand user interaction with the website.Google Analytics, which places a cookie on your device, to obtain information on how you engage with this website. WP Statistic stores information like: user agent and platform, user IP, user country, search engines, referring websites.