• This repository has been archived on 16/Apr/2021
  • Stars
    star
    177
  • Rank 215,985 (Top 5 %)
  • Language SCSS
  • License
    MIT License
  • Created over 8 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Browser hack sass mixin - Apply your SCSS to a specific browser - CSS hacks for: IE, Chrome, Firefox, Edge, Opera

Browser Hack Mixins for Sass

Apply your CSS to a specific browser

deprecated

Requirements

  • Sass 3.3+

How To Use

  1. Import _hacks.scss file to your SCSS code : @import "hacks";
  2. Use the mixin you want:
  • @include [Mixin_Name]( 'selector', (property: value) )
  • For example:
@include only_ie9( '.my_element', (color: red))

Or:

@include only_ff28_above( '.my_element', (
  background-color: green,
  display: flex,
  margin: 2em,
))

List of Mixins

  1. Firefox CSS Hacks
  • only_ff
  • only_ff2
  • only_ff2_above
  • only_ff3_above
  • only_ff6_above
  • only_ff16_above
  • only_ff21_above
  • only_ff24_above
  • only_ff25_above
  • only_ff26_above
  • only_ff27_above
  • only_ff28_above
  • only_ff30_above
  1. Webkit CSS Hacks
  • only_webkit
  • only_chrome
  • only_safari
  • only_safari9
  • only_ios
  • only_safari_no_ios
  • only_opera9_safari2
  1. Opera CSS Hacks
  • only_opera
  • only_opera11
  1. Internet Explorer CSS Hacks
  • only_edge
  • only_ie6
  • only_ie7
  • only_ie7_below
  • only_ie8
  • only_ie8_below
  • only_ie9
  • only_ie9_below
  • only_ie10_above
  • only_ie11
  • only_ie11_above
  • no_ie6
  • only_ie9_saf4_above
  1. Other CSS Hacks
  • no_ie_safari6

More Repositories

1

daisyui

🌼 🌼 🌼 🌼 🌼  The most popular, free and open-source Tailwind CSS component library
Svelte
31,000
star
2

theme-change

Change CSS theme with toggle, buttons or select using CSS custom properties and localStorage
JavaScript
1,243
star
3

design-systems

A list of famous design systems, design languages and guidelines
629
star
4

daisy-blog

Astro
58
star
5

tailwindcss-document-cli

Tailwind CSS Document for CLI
JavaScript
46
star
6

saadeghi

36
star
7

tailwindcss-postcss-browsersync-boilerplate

Tailwind CSS + PostCSS + BrowserSync boilerplate
JavaScript
31
star
8

curse

Use this blacklist on your softwares and apps
28
star
9

svelte-countup

Svelte
17
star
10

saadeghi.github.io

Svelte
17
star
11

daisyui-nextjs-nextthemes

JavaScript
15
star
12

create-react-app-tailwindcss

create react app with tailwindcss configed
JavaScript
11
star
13

svelte-component-template

JavaScript
11
star
14

daisyui-demo

Vue
10
star
15

remix-daisyui

TypeScript
10
star
16

vite-and-run

Starts a Vite server and runs a custom command when files are changed and triggers a hot reload
JavaScript
10
star
17

smart-grid

Smart and minimal Sass grid mixin that doesn't need HTML class names!
CSS
9
star
18

tailwindcss-parceljs-typescript-boilerplate

Tailwind CSS + ParcelJS + TypeScript boilerplate
HTML
8
star
19

daisyui-starter

HTML
8
star
20

nextjs-daisyui-headlessui

JavaScript
5
star
21

border1pxred

For the lulz
JavaScript
5
star
22

cra-tailwind3-daisyui-example

HTML
5
star
23

vuejs-daisyui-modal

Vue
4
star
24

daisyui-bidirectional-builds

CSS
4
star
25

svelte-starter

Svelte
3
star
26

daisy-blog-astro

Astro
3
star
27

pouya

JavaScript
3
star
28

testing-daisyui-size-with-tailwind

JavaScript
3
star
29

tailwindcss-design-systems

JavaScript
3
star
30

svelte-preprocess-postcss-bug

Svelte
3
star
31

daisyui-old-examples

HTML
3
star
32

astro-starter

Astro
3
star
33

windicss-daisyui-weird-responsive-style-issue

CSS
3
star
34

nextjs14-daisyui4

TypeScript
2
star
35

daisyui-parcel-table-issue

HTML
2
star
36

daisyui-prefix-example

CSS
2
star
37

hbs-test

HTML
2
star
38

windi-vs-tailwind-daisyui-class-order-issue

JavaScript
2
star
39

daisyui-images

1
star
40

daisy-test

TypeScript
1
star
41

files

1
star