Fixation of Tailwindcss Error: Unknown at rule @tailwind
.
- Add the the following Custom Data for CSS file
css_custom_data.json
. - Declare it into the VSCode settings file.
.vscode/settings.json:
source code: codepen.io
index.html:
<h1 class="intro">Here is some generic content</h1>
import React from 'react'; | |
import moment from 'moment'; | |
import Image from 'next/image'; | |
import Link from 'next/link'; | |
const FeaturedPostCard = ({ post }) => ( | |
<div className="relative h-72"> | |
<div className="absolute rounded-lg bg-center bg-no-repeat bg-cover shadow-md inline-block w-full h-72" style={{ backgroundImage: `url('${post.featuredImage.url}')` }} /> | |
<div className="absolute rounded-lg bg-center bg-gradient-to-b opacity-50 from-gray-400 via-gray-700 to-black w-full h-72" /> | |
<div className="flex flex-col rounded-lg p-4 items-center justify-center absolute w-full h-full"> |
A small python script
you.list
.urllib2.urlopen(listOfVideos)
.response.geturl()
.webbrowser.open(playListURL)
.Tested on Google Chrome