小编Lal*_*rya的帖子

CSS :: .className和div.className之间的区别

我写了一个html元素如下::

<div class="box"> Foo box </div>
Run Code Online (Sandbox Code Playgroud)

写css就像

.box {
    width: 400px;
    height: 40px;
    color: red;
    text-align: center;
}

or

div.box {
    width: 400px;
    height: 40px;
    color: red;
    text-align: center;
}
Run Code Online (Sandbox Code Playgroud)

我想问一下盒子类的两个css是如何彼此不同的.

html css

6
推荐指数
3
解决办法
8118
查看次数

检查C++ 11对"regex"的支持:不支持

当我尝试编译ArangoDB 3.0时,我遇到了如下问题.

wget https://www.arangodb.com/repositories/Source/ArangoDB-3.0.0.tar.gz
tar -xvvf ArangoDB-3.0.0.tar.gz
ln -s ArangoDB-3.0.0 arangodb

     OR

git clone https://github.com/arangodb/arangodb
cd arangodb 
git checkout 3.0
git pull
Run Code Online (Sandbox Code Playgroud)

我已经尝试过以上二进制编译,如下所示.

cd arangodb/
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
Run Code Online (Sandbox Code Playgroud)

执行cmake .. -DCMAKE_BUILD_TYPE=Release命令会给我以下错误.

-- Checking C++11 support for "regex"
CMake Error at cmake/CheckCXX11Features.cmake:129 (message):
  Checking C++11 support for "regex": not supported
Call Stack (most recent call first):
  cmake/CheckCXX11Features.cmake:150 (cxx11_check_feature)
  CMakeLists.txt:265 (include)


-- Configuring incomplete, errors occurred!
See also "/home/ec2-user/arangodb/build/CMakeFiles/CMakeOutput.log".
Run Code Online (Sandbox Code Playgroud)

AWS Linux AMI上的操作系统版本:

Linux 4.4.11-23.53.amzn1.x86_64#1 SMP …

c++11 arangodb

1
推荐指数
1
解决办法
215
查看次数

标签 统计

arangodb ×1

c++11 ×1

css ×1

html ×1